File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ with exception of boundary pressure, do not have an effect.
415
415
model MassFlowSource_T
416
416
"Ideal flow source that produces a prescribed mass flow with prescribed temperature, mass fraction and trace substances"
417
417
import Modelica.Media.Interfaces.Choices.IndependentVariables;
418
- extends Sources.BaseClasses.PartialFlowSource;
418
+ extends Sources.BaseClasses.PartialFlowSource(nPorts( min = 1 )) ;
419
419
parameter Boolean use_m_flow_in = false
420
420
"Get the mass flow rate from the input connector"
421
421
annotation(Evaluate=true, HideResult=true, choices(checkBox=true));
@@ -562,7 +562,7 @@ with exception of boundary flow rate, do not have an effect.
562
562
model MassFlowSource_h
563
563
"Ideal flow source that produces a prescribed mass flow with prescribed specific enthalpy, mass fraction and trace substances"
564
564
import Modelica.Media.Interfaces.Choices.IndependentVariables;
565
- extends Sources.BaseClasses.PartialFlowSource;
565
+ extends Sources.BaseClasses.PartialFlowSource(nPorts( min = 1 )) ;
566
566
parameter Boolean use_m_flow_in = false
567
567
"Get the mass flow rate from the input connector"
568
568
annotation(Evaluate=true, HideResult=true, choices(checkBox=true));
You can’t perform that action at this time.
0 commit comments