Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakout package parser class #566

Merged
merged 11 commits into from
Jun 29, 2023
5 changes: 5 additions & 0 deletions .cspell/custom-dictionary-workspace.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Custom Dictionary Words
mfrt
Reparse
timeseries
timestep
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from geojson_modelica_translator.model_connectors.load_connectors.load_base import (
LoadBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.scaffold import Scaffold


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from geojson_modelica_translator.model_connectors.energy_transfer_systems.energy_transfer_base import (
EnergyTransferBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import simple_uuid


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from geojson_modelica_translator.model_connectors.energy_transfer_systems.energy_transfer_base import (
EnergyTransferBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import simple_uuid


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from geojson_modelica_translator.model_connectors.load_connectors.load_base import (
LoadBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import (
ModelicaPath,
convert_c_to_k,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from geojson_modelica_translator.model_connectors.load_connectors.load_base import (
LoadBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import (
ModelicaPath,
convert_c_to_k,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from geojson_modelica_translator.model_connectors.load_connectors.load_base import (
LoadBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import (
ModelicaPath,
convert_c_to_k,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from geojson_modelica_translator.model_connectors.load_connectors.load_base import (
LoadBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import ModelicaPath, simple_uuid


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from geojson_modelica_translator.model_connectors.plants.plant_base import (
PlantBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import ModelicaPath, simple_uuid


Expand Down
2 changes: 1 addition & 1 deletion geojson_modelica_translator/model_connectors/plants/chp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from geojson_modelica_translator.model_connectors.plants.plant_base import (
PlantBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import convert_c_to_k, simple_uuid


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from geojson_modelica_translator.model_connectors.plants.plant_base import (
PlantBase
)
from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.utils import simple_uuid


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import shutil
from pathlib import Path

from geojson_modelica_translator.modelica.input_parser import PackageParser
from geojson_modelica_translator.modelica.modelica_mos_file import ModelicaMOS
from geojson_modelica_translator.modelica.package_parser import PackageParser
from geojson_modelica_translator.modelica.simple_gmt_base import SimpleGMTBase
from geojson_modelica_translator.scaffold import Scaffold

Expand Down
Loading