solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

test08.yaml (1030B)


      1 - sun: &sun { dni: 1 }
      2 
      3 - atmosphere:
      4     extinction: 0
      5 
      6 - material: &lambertian
      7     front:
      8       matte: { reflectivity: 1 }
      9     back:
     10       matte: { reflectivity: 1 }
     11       
     12 - material: &specular
     13     mirror: { reflectivity: 1, slope_error: 0 }
     14 
     15 - template: &self_oriented_parabol
     16     name: "pivot"
     17     transform: { translation: [0, 0, 4], rotation: [0, 0, 90] }
     18     x_pivot:
     19       target: { sun: *sun }
     20     children:
     21     - name: "parabol"
     22       primary: 1
     23       geometry:
     24       - material: *specular
     25         parabol:
     26           focal: 4
     27           clip:
     28           - operation: AND
     29             circle: { radius: 5 }
     30     - name: "small_square"
     31       transform: { translation: [0, 0, 4] }
     32       primary: 0
     33       geometry:
     34       - material:  { virtual: }
     35         plane:
     36           clip:
     37           - operation: AND
     38             vertices: [ [-0.50, -0.50], [-0.50, 0.50], [0.50, 0.50], [0.50, -0.50] ]
     39 
     40 - entity:
     41     name: "reflector"
     42     transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
     43     children: [ *self_oriented_parabol ]