sofirpy.fmu_export.fmu_export module
This module contains the base class for a fmu export.
- class sofirpy.fmu_export.fmu_export.FmuExport(model_path: Path, fmu_path: Path, output_directory: Path | None = None)[source]
Bases:
object
Object that sets the paths for the fmu export.
- Parameters:
model_path (Path) – Path to the Modelica model that should be exported.
fmu_path (Path) – Path the exported fmu is going to have. output_directory (Path | None, optional): Output directory for the fmu.
- property fmu_path: Path
Path the exported fmu is going to have.
- Returns:
Path the exported fmu is going to have.
- Return type:
Path
- property model_path: Path
Path to the modelica model.
- Returns:
Path to the modelica model.
- Return type:
Path
- property output_directory: Path
Path to the output_directory.
- Returns:
Path to the output_directory.
- Return type:
Path