The Greenhouse Modelica Library aims at providing a fully open-source modeling framework for the simulation of greenhouse climate, crop yield and the energy integration of greenhouses with thermal systems (e.g. generation units, thermal storage units, district heating networks, etc.).
I am using Jmodelica to compile a fmu from one modelica model which has in it the greenhouse model from the unit.
I have two main issues and one warning:
_First a warning message about cardinality, that say it is a deprecated operator (the warning);
_Second, from the canopy, air and floor, the cardinality is written as:
cardinality(R_Flr_Glob)==0
However, R_Flr_Glob seems to be an array. This is causing an error. I commented the code and the error disappeared.
_Third, I have issues with model Flow1DimLnc and the following code:
Medium.specificEnthalpy_pTX(pstart,Tstart_inlet,fill(0,0)),Medium.specificEnthalpy_pTX(pstart,Tstart_outlet,fill(0,0)).
I have an error message about fill(0,0), I modified with fill(0.0,1) and the error disappeared.
Regards,
I am using Jmodelica to compile a fmu from one modelica model which has in it the greenhouse model from the unit. I have two main issues and one warning:
_First a warning message about cardinality, that say it is a deprecated operator (the warning);
_Second, from the canopy, air and floor, the cardinality is written as:
cardinality(R_Flr_Glob)==0
However, R_Flr_Glob seems to be an array. This is causing an error. I commented the code and the error disappeared._Third, I have issues with model Flow1DimLnc and the following code:
Medium.specificEnthalpy_pTX(pstart,Tstart_inlet,fill(0,0)),Medium.specificEnthalpy_pTX(pstart,Tstart_outlet,fill(0,0))
.I have an error message about fill(0,0), I modified with fill(0.0,1) and the error disappeared. Regards,