Skip to content

Commit 5723a67

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents c84b2ed + 25b35ee commit 5723a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revoletion/blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def calc_capex_init(self):
602602

603603
# replacements are full cost irrespective of existing size
604604
self.capex_replacement = (sum([com.size_existing + com.size_additional for com in self.commodities.values()]) *
605-
self.capex_spec + self.capex_fix)
605+
self.capex_spec + self.capex_fix * self.num)
606606

607607
def calc_capex_init_existing(self):
608608
self.capex_fix = self.capex_glider + self.capex_charger

0 commit comments

Comments
 (0)