solstice

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

test03.yaml (1005B)


      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 - geometry: &small_square
     10     - material: *specular
     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_square
     21     - material: { virtual: }
     22       plane:
     23         clip:
     24           - operation: AND
     25             vertices:
     26               - [-5.00, -5.00]
     27               - [-5.00, 5.00]
     28               - [5.00, 5.00]
     29               - [5.00, -5.00]
     30       
     31     
     32 - entity:
     33     name: "reflector"
     34     primary: 1
     35     transform: { rotation: [0, 0, 0], translation: [0, 0, 0] }
     36     geometry: *small_square
     37     
     38 
     39     
     40 - entity:
     41     name: "square_receiver"
     42     primary: 0
     43     transform: { rotation: [0, 0, 0], translation: [-2, 0, 2] }
     44     geometry: *big_square
     45     
     46     
     47