Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jmodelica Issues #14

Open
bienpierre opened this issue May 23, 2019 · 1 comment
Open

Jmodelica Issues #14

bienpierre opened this issue May 23, 2019 · 1 comment

Comments

@bienpierre
Copy link

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.
greenhouseissues
Regards,

@adrpo
Copy link

adrpo commented Aug 16, 2023

PR #20 fixes the issues you found properly handling the cardinality and the issues with typing of specificEnthalpy_PTX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants