Skip to content

Commit

Permalink
Applying feedback from review
Browse files Browse the repository at this point in the history
  • Loading branch information
gomezzz committed Dec 21, 2022
1 parent 7f0f8e2 commit d78f563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ sim = paseos.init_sim(local_actor)

### Faster than real-time execution

In some cases, you may be interested to simulate your spacecraft operating for an extended period. By default, PASEOS operates in real-time, thus this would take a lot of time. However, you can increase the rate of time passing (i.e. the spacecraft moving, power being charged / consumed etc.) using the `time_multiplier` parameter. Set it is as follows when initializing PASEOS.
In some cases, you may be interested to simulate your spacecraft operating for an extended period. By default, PASEOS operates in real-time, thus this would take a lot of time. However, you can increase the rate of time passing (i.e. the spacecraft moving, power being charged / consumed etc.) using the `time_multiplier` parameter. Set it as follows when initializing PASEOS.

```py

Expand Down
2 changes: 1 addition & 1 deletion paseos/activities/activity_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(
self._power_consumption_in_watt = power_consumption_in_watt
assert update_interval > 0, "update_interval has to be > 0"
self.update_interval = update_interval
assert time_multiplier > 0, "time_multiplier has to be > 0"
assert time_multiplier > 1e-4, "time_multiplier has to be > 1e-4"
self._time_multiplier = time_multiplier
self._is_started = False
self._task = None
Expand Down

0 comments on commit d78f563

Please sign in to comment.