Modelica models

To learn the basics of modelling with Modelica, please refer to the online book Modelica by Example.

class rtctools.optimization.modelica_mixin.ModelicaMixin(**kwargs)

Bases: rtctools.optimization.optimization_problem.OptimizationProblem

Adds a Modelica model to your optimization problem.

During preprocessing, the Modelica files located inside the model subfolder are loaded.

Variables:modelica_library_folders – Folders in which any referenced Modelica libraries are to be found. Default is an empty list.