solstice

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

test_ok_3.yaml (976B)


      1 - sun: { dni: 1, spectrum: [{wavelength: 1, data: 1}] }
      2 
      3 - material: &lambertian
      4     front: { matte: { reflectivity: 1 } }
      5     back : { matte: { reflectivity: 0.5 } }
      6 
      7 - geometry: &geom
      8     - cylinder: { height: 1, radius: 1 }
      9       material: *lambertian
     10     - sphere: { radius: 1 }
     11       material: *lambertian
     12       transform: { translation: [ 1, 2, 3 ] }
     13 
     14 - template: &template
     15     name: "template"
     16     primary: 0
     17     geometry: *geom
     18     children:
     19       - name: "child0"
     20         primary: 0
     21         geometry: *geom
     22         transform: { rotation: [1, 2, 3] }
     23 
     24 - template: &template2
     25     name: "template2"
     26     transform: { translation: [ -1.0E-6, -2.e-6, -3.e-6 ] }
     27     children: [ *template ]
     28 
     29 - entity: &entity0
     30     name: "entity0"
     31     transform: { translation: [1.2, 3.4, 5.6] }
     32     children: [ *template ]
     33 
     34 - entity:
     35     name: "entity1"
     36     transform: { translation: [0, 1, -6.3], rotation: [ 1, 2, 3 ] }
     37     children:
     38       - *template
     39       - *template2
     40       - *entity0