Our current modelica greenhouse simulation is now public on github. The documentation is admittedly poor and it has not yet been physically validated so use at your own risk. However, it does have full Fresnel equations for light transmission and integration with solcast historical solar weather data. It should run out of the box on OMEdit the open modelica editor. Validation experiments are in the works, and once validated better documentation will be included.
