Skip to content

Commit

Permalink
Minor error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
markvankoningsveld committed Mar 9, 2020
1 parent 7adb6da commit 22c563b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentisim/container_system.py
Expand Up @@ -1498,7 +1498,7 @@ def calculate_demurrage_cost(self, year):

ULCS = Vessel(**container_defaults.ULCS_data)
service_time_ULCS = ULCS.call_size / service_rate
waiting_time_hours_ULCS = factor * service_time_ULCS
waiting_time_hours_ULCS = waiting_factor * service_time_ULCS
port_time_ULCS = waiting_time_hours_ULCS + service_time_ULCS + ULCS.mooring_time
penalty_time_ULCS = max(0, port_time_ULCS - ULCS.all_turn_time)
demurrage_time_ULCS = penalty_time_ULCS * ULCS_calls
Expand Down

0 comments on commit 22c563b

Please sign in to comment.