Evaporator and condenser models¶
- class PythonModel.heatexchangers.EvaporatorCondenser(parameters)¶
Bases:
object
Object for heat exchanger based on epsilon-NTU method for a heat transfer fluid exchanging heat with refrigerant experiencing constant temperature phase change.
- Parameters
UA – Heat transfer coefficient of the evaporator or condenser (W/K).
- get_RefrigerantTemperature(Q_flow, m_flow, flu, T_in)¶
Evaluate the refrigerant temperature.
- Parameters
Q_flow – Heat transfer rate to the fluid stream (W).
m_flow – Fluid mass flow rate (kg/s).
flu – Fluid model.
T_in – Inlet fluid temperature (K).
- Returns
Refrigerant temperature (K).
- Usage: Type
>>> import fluids >>> flu = fluids.ConstantPropertyWater() >>> eva = EvaporatorCondenser([21523]) >>> '%.2f' % eva.get_RefrigerantTemperature(19300, 0.71, flu, 298.75) '305.25'
- initialGuessParameters(Q_nominal, P_nominal)¶
Initialize guess parameters for calibration of the heat pump model.
- Parameters
Q_nominal – Nominal heat pump capacity (W).
P_nominal – Nominal power input (W).
- Returns
A list of parameters to the compressor model, a list of tuples of the bounds of the parameters (min, max) for the calibration routine.
- modelicaModelPath()¶
- Returns the full path to the EvaporatorCondenser model in the
Buildings library.
- Returns
Full path to the compressor model in the Buildings library.
- Usage: Type
>>> eva = EvaporatorCondenser([21523]) >>> eva.modelicaModelPath() 'Buildings.Fluid.HeatExchangers.EvaporatorCondenser'
- printParameters()¶
Prints the value of the model parameters.
- reinitializeParameters(parameters)¶
Reinitializes the evaporator or condenser using new parameters.
- Parameters
UA – Heat transfer coefficient (W/K).
- set_ModelicaParameters(simulator, suffix='')¶
Set parameter values for simulation in dymola.
- Parameters
simulator – Simulator object (BuildinsPy)
suffix – String to add at the end of parameter names.
- Returns
Simulator object (BuildinsPy)