ModelicaPackage

class geojson_modelica_translator.geojson_modelica_translator.ModelicaPackage(file_to_run, project_path, project_name)

Bases: object

Represents a modelica package which can be simulated

__init__(file_to_run, project_path, project_name)

Methods

__init__(file_to_run, project_path, project_name)

simulate()

Simulate the package.

simulate()

Simulate the package.

Returns:

tuple(bool, pathlib.Path), True or False depending on simulation success followed by the path to the results directory