-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
There are incompatible classes here:
| replaceable package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start)) constrainedby Modelica.Media.Interfaces.PartialSimpleIdealGasMedium; |
Message from Wolfram System Modeler:
Error: VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen [5:15-5:15] Incompatible classes. .Modelica.Media.IdealGases.SingleGases.H2 is not a subtype of .Modelica.Media.Interfaces.PartialSimpleIdealGasMedium, the constraint was imposed here. The following elements are missing or have incompatible types themselves:
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.MolarMass MM_const;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.SpecificHeatCapacity R_gas;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.Temperature T0;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.Temperature T_max;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.Temperature T_min;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.SpecificHeatCapacity cp_const;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.SpecificHeatCapacity cv_const;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.DynamicViscosity eta_const;
.Modelica.Media.Interfaces.PartialSimpleIdealGasMedium.ThermalConductivity lambda_const;
The here mentioned in the message is the constrainedby from the code linked above.
Metadata
Metadata
Assignees
Labels
No labels