Skip to content

Export final calibration result as a record #2

@FWuellhorst

Description

@FWuellhorst

To make the use of the final calibration result easy, an export to a record should be implemented (as discussed).

In addition to the final values, the most relevant info about the calibration should also be in that record, e.g.:

Name: MODELNAME_Calibrated_DATEOFCALIBRATION.mo
Content:

record TestModel_Calibrated_20191204 "Final values of AixCaliBuHa-Calibration of Model AixCalTest.TestModel: 
  NRMSE = 0.002; Used Method: scipy_minimize - COBYLA"
  parameter Real V=0.02 "Calibrated in bounds min=%s, max=%s";
  parameter Real m_flow_nominal=0.02 "Calibrated in bounds min=%s, max=%s";
   
  annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
        coordinateSystem(preserveAspectRatio=false)));
end TestModel_Calibrated_20191204;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions