Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
luca7084 committed Jun 28, 2023
1 parent 1270e47 commit d6fa789
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion rocket_twin/drivers/fueling_rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class FuelingRocket(Driver):
"""Driver that simulates the fueling of a rocket.
Inputs
------
name: string,
Expand All @@ -22,6 +22,7 @@ class FuelingRocket(Driver):
Outputs
------
"""

def __init__(self, name: str, w_out, dt, owner: Optional["System"] = None, **kwargs):
super().__init__(name, owner, **kwargs)

Expand Down
2 changes: 1 addition & 1 deletion rocket_twin/systems/station/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from rocket_twin.systems.station.station import Station

__all__ = ["Station"]
__all__ = ["Station"]
3 changes: 2 additions & 1 deletion rocket_twin/systems/station/station.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Station(System):
Outputs
------
"""

def setup(self):
self.add_child(Rocket("rocket"))
self.add_child(Pipe("pipe"))
Expand All @@ -28,4 +29,4 @@ def setup(self):
# Design methods
dm = self.add_design_method("start")
dm.add_unknown("g_tank.weight_p")
dm.add_equation("g_tank.weight_p == g_tank.weight_max")
dm.add_equation("g_tank.weight_p == g_tank.weight_max")

0 comments on commit d6fa789

Please sign in to comment.