Skip to content

Commit

Permalink
Changed slab to use eps-NTU by default
Browse files Browse the repository at this point in the history
This is for #290. For the FLEXLAB model, computing time is 4 times lower with this configuration
  • Loading branch information
mwetter committed Oct 7, 2014
1 parent 15078b0 commit c06ac4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Expand Up @@ -28,8 +28,9 @@ model StepResponse "Model that tests the radiant slab"
sysTyp=Buildings.Fluid.HeatExchangers.RadiantSlabs.BaseClasses.Types.SystemType.Floor,
disPip=0.2,
A=A,
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)
"Slabe with embedded pipes"
energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial,
nSeg=10,
use_epsilon_NTU=false) "Slabe with embedded pipes"
annotation (Placement(transformation(extent={{10,-30},{30,-10}})));

parameter Modelica.SIunits.MassFlowRate m_flow_nominal=
Expand Down
Expand Up @@ -21,7 +21,7 @@ model ParallelCircuitsSlab
m_flow_small=m_flow_small/nCir));

parameter Integer nCir(min=1) = 1 "Number of parallel circuits";
parameter Integer nSeg(min=1) = 10
parameter Integer nSeg(min=1) = 1
"Number of volume segments in each circuit (along flow path)";

parameter Modelica.SIunits.Area A
Expand All @@ -45,7 +45,7 @@ model ParallelCircuitsSlab
parameter Boolean homotopyInitialization = true "= true, use homotopy method"
annotation(Evaluate=true, Dialog(tab="Advanced"));

parameter Boolean use_epsilon_NTU = false
parameter Boolean use_epsilon_NTU = true
"Set to true to use an epsilon-NTU model for the heat conduction"
annotation(Dialog(tab="Advanced"));

Expand Down
Expand Up @@ -2,6 +2,7 @@ within Buildings.Fluid.HeatExchangers.RadiantSlabs;
model SingleCircuitSlab "Model of a single circuit of a radiant slab"
extends Buildings.Fluid.HeatExchangers.RadiantSlabs.BaseClasses.Slab;
extends Buildings.Fluid.FixedResistances.BaseClasses.Pipe(
nSeg=1,
final diameter=pipe.dIn,
length=A/disPip,
final thicknessIns=0,
Expand All @@ -21,7 +22,7 @@ model SingleCircuitSlab "Model of a single circuit of a radiant slab"
parameter Modelica.SIunits.Area A "Surface area of radiant slab"
annotation(Dialog(group="Construction"));

parameter Boolean use_epsilon_NTU = false
parameter Boolean use_epsilon_NTU = true
"Set to true to use an epsilon-NTU model for the heat conduction"
annotation(Dialog(tab="Advanced"));

Expand Down

0 comments on commit c06ac4f

Please sign in to comment.