solstice

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

test05.yaml (836B)


      1 - sun: &sun { dni: 1 }
      2 
      3 - material: &lambertian
      4     front:
      5       matte: { reflectivity: 1 }
      6     back:
      7       matte: { reflectivity: 1 }
      8       
      9 - geometry: &small_square
     10     - material: *lambertian
     11       plane:
     12         clip:
     13           - operation: AND
     14             vertices:
     15               - [-0.50, -0.50]
     16               - [-0.50, 0.50]
     17               - [0.50, 0.50]
     18               - [0.50, -0.50]
     19               
     20 - geometry: &big_sphere
     21     - material:  { virtual: }
     22       sphere:
     23         radius: 2.0
     24         slices: 128
     25       
     26     
     27 - entity:
     28     name: "reflector"
     29     primary: 1
     30     transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
     31     geometry: *small_square
     32     
     33 
     34     
     35 - entity:
     36     name: "spherical_receiver"
     37     primary: 0
     38     transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
     39     geometry: *big_sphere
     40     
     41     
     42