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: |
|
---|---|
Returns: | Refrigerant temperature (K). |
>>> 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: |
|
---|---|
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: | Full path to the compressor model in the BuildingSystems library. |
---|
>>> eva = EvaporatorCondenser([21523])
>>> eva.modelicaModelPath()
'BuildingSystems.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: |
|
---|---|
Returns: | Simulator object (BuildinsPy) |