PythonModel.calibrate.
ManufacturerData
(manufacturer, model, CoolingMode=False)¶Bases: object
Heat pump performance data.
Parameters: |
|
---|
Note
An empty heat pump performance object is created.
add_data_point
(EWT_Source, EWT_Load, flowSource, flowLoad, Capacity, HR, Power)¶Add a data point to the heat pump performance data.
Parameters: |
|
---|
calibration_data_16_points
()¶Find the 16 min/max data points.
Returns: | Performance data for calibration (object). |
---|
Note
This method returns a subsample of the performance data corresponding to the combination of minimums and maximums of the inlet water temperatures and mass flow rates on the source and load sides.
calibration_data_min_max_temp
()¶Returns: | Performance data for calibration (object). |
---|
Note
This method returns a subsample of the performance data corresponding to the combination of minimums and maximums of the inlet water temperatures on the source and load sides.
write_modelica_combiTimeTable
(tableName, tableTempDir, tableFileName, CoolingMode)¶Parameters: |
|
---|
PythonModel.calibrate.
SimulationResults
(EWT_Source, EWT_Load, flowSource, flowLoad, Capacity, HR, Power, name)¶Bases: object
Results from the simulation model.
Parameters: |
|
---|
PythonModel.calibrate.
calibrate_model
(heaPum, calData, data, plot=True)¶Manages the calibration of heat pump models.
Parameters: |
|
---|---|
Returns: | List of calibrated parameters, Results from the calibrated model, Results using the initial guess parameters. |
PythonModel.calibrate.
compare_data_sets
(data, refData, plot=False, fname='ComparedDataSets')¶Compare two sets of data.
Parameters: |
|
---|---|
Returns: | Sum of normalized square errors between data sets. |
PythonModel.calibrate.
cost_function
(scale, guess, heaPum, data)¶Evaluate the cost function for optimization.
Parameters: |
|
---|---|
Returns: | Sum of normalized square errors between model and reference data. |
Note
Parameters are evaluated by multiplying the corresponding normalized parameter with its guess value.
PythonModel.calibrate.
simulate
(heaPum, data)¶Evaluate the heat pump performance from the model.
Parameters: |
|
---|---|
Returns: | Performance data of the modeled heat pump (object). |
Note
Performance data from the model is evaluated at the same operating conditions (inlet water temperatures and mass flow rates at the source and load sides) as in the reference data.
PythonModel.calibrate.
simulate_in_dymola
(heaPum, data, tableName, tableFileName)¶Evaluate the heat pump performance from the model in Dymola.
Parameters: |
|
---|---|
Returns: | Performance data of the modeled heat pump (object). |
Note
Performance data from the model is evaluated at the same operating conditions (inlet water temperatures and mass flow rates at the source and load sides) as in the reference data.