Skip to content

Commit

Permalink
clean branch after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tplobo committed Feb 8, 2024
1 parent 63251a1 commit c40e519
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 584 deletions.
9 changes: 1 addition & 8 deletions bluemira/power_cycle/coilsupply.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
TODO:
- alter 'name' & 'description' to 'label' and 'name'?
- relocate `CoilSupplySystemError` to `errors.py`
- relocate classes used by `net.py` and `coilsupply.py` to `base.py`
- ensure every '...Config' class inherits from 'Config', and rename
other cases as '...Inputs', '...Scheme', etc.
Expand All @@ -36,7 +35,7 @@
import numpy as np

from bluemira.base.look_and_feel import bluemira_print
from bluemira.power_cycle.errors import PowerCycleError
from bluemira.power_cycle.errors import CoilSupplySystemError
from bluemira.power_cycle.net import (
Config,
Descriptor,
Expand Down Expand Up @@ -700,9 +699,3 @@ def compute_wallplug_loads(

outputs_parameter.absorb_parameter(wallplug_parameter)
return outputs_parameter


class CoilSupplySystemError(PowerCycleError):
"""
Exception class for 'CoilSupplySystem' class of the Power Cycle module.
"""
6 changes: 6 additions & 0 deletions bluemira/power_cycle/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ class ScenarioLoadError(PowerCycleError):
"""
Exception class for 'ScenarioLoad' class of the Power Cycle module.
"""


class CoilSupplySystemError(PowerCycleError):
"""
Exception class for 'CoilSupplySystem' class of the Power Cycle module.
"""
Loading

0 comments on commit c40e519

Please sign in to comment.