solstice

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

test04.yaml (1064B)


      1 - sun: &sun { dni: 1 }
      2 
      3 - material: &specular
      4     front:
      5       mirror: { reflectivity: 1, slope_error: 0 }
      6     back:
      7       mirror: { reflectivity: 1, slope_error: 0 }
      8       
      9 - material: &black
     10     matte: { reflectivity: 0 }
     11       
     12 - geometry: &small_square
     13     - material: *specular
     14       plane:
     15         clip:
     16           - operation: AND
     17             vertices:
     18               - [-0.50, -0.50]
     19               - [-0.50, 0.50]
     20               - [0.50, 0.50]
     21               - [0.50, -0.50]
     22               
     23 - geometry: &big_square
     24     - material: { virtual: }
     25       plane:
     26         clip:
     27           - operation: AND
     28             vertices:
     29               - [-5.00, -5.00]
     30               - [-5.00, 5.00]
     31               - [5.00, 5.00]
     32               - [5.00, -5.00]
     33       
     34     
     35 - entity:
     36     name: "reflector"
     37     primary: 1
     38     transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
     39     geometry: *small_square
     40     
     41 
     42     
     43 - entity:
     44     name: "square_receiver"
     45     primary: 0
     46     transform: { rotation: [0, -45, 0], translation: [-2, 0, 2] }
     47     geometry: *big_square
     48     
     49     
     50