solstice

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

test01.yaml (1011B)


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