Spaces:
Build error
Build error
Commit ·
f86c6b7
1
Parent(s): a4327bb
Update app.py
Browse filesFixed glitch in app
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def run_simulation(model, simulation_time, re_investment):
|
|
| 20 |
|
| 21 |
model.clear_last_run()
|
| 22 |
|
| 23 |
-
model.
|
| 24 |
|
| 25 |
model.simulate()
|
| 26 |
|
|
|
|
| 20 |
|
| 21 |
model.clear_last_run()
|
| 22 |
|
| 23 |
+
model.replace_element_equation('Percentage_of_savings_spent_on_cessation', re_investment)
|
| 24 |
|
| 25 |
model.simulate()
|
| 26 |
|