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

Add redeclare replaceable #13

Merged
merged 1 commit into from
Oct 19, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Annex60/Fluid/MassExchangers/ConstantEffectiveness.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ within Annex60.Fluid.MassExchangers;
model ConstantEffectiveness
"Heat and moisture exchanger with constant effectiveness"
extends Annex60.Fluid.HeatExchangers.BaseClasses.PartialEffectiveness(
redeclare package Medium1 = Modelica.Media.Interfaces.PartialCondensingGases,
redeclare package Medium2 = Modelica.Media.Interfaces.PartialCondensingGases,
redeclare replaceable package Medium1 = Modelica.Media.Interfaces.PartialCondensingGases,
redeclare replaceable package Medium2 = Modelica.Media.Interfaces.PartialCondensingGases,
sensibleOnly1=false,
sensibleOnly2=false,
Q1_flow = epsS * QMax_flow,
Expand Down
2 changes: 1 addition & 1 deletion Annex60/Fluid/MassExchangers/HumidifierPrescribed.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ within Annex60.Fluid.MassExchangers;
model HumidifierPrescribed
"Ideal humidifier or dehumidifier with prescribed water mass flow rate addition or subtraction"
extends Annex60.Fluid.Interfaces.TwoPortHeatMassExchanger(
redeclare package Medium = Modelica.Media.Interfaces.PartialCondensingGases,
redeclare replaceable package Medium = Modelica.Media.Interfaces.PartialCondensingGases,
redeclare final Annex60.Fluid.MixingVolumes.MixingVolumeMoistAir vol);

parameter Boolean use_T_in= false
Expand Down