Skip to content

Commit

Permalink
Update usage with new helper function.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreissmann committed Jun 19, 2024
1 parent 6af8a7b commit 19a54a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@ To use the heat pump model classes in your own scripts, you can import them as f

```python
from heatpumps.models import HeatPumpSimple, HeatPumpEconIHX
from heatpumps.parameters import get_params

...
econ_type = 'closed'
params = get_params('HeatPumpEconIHX', econ_type=econ_type)

hp = HeatPumpEconIHX(params=params)
hp = HeatPumpEconIHX(params=params, econ_type=econ_type)

hp.run_model()
```

## License
Expand Down

0 comments on commit 19a54a5

Please sign in to comment.