Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,13 @@ which will then be available via the UI for visualisation.

* [Translating a CIM network model into a pandapower model](src/zepben/examples/translating_to_pandapower_model.py)
* [Requesting a PowerFactory model through the SDK](src/zepben/examples/request_power_factory_models.py)

#### F.A.Q

* What do I do about permission issues when I use token from the web UI to use in the example code?
Please double-check the role of the generated token has the right to perform desired operations.
See https://zepben.github.io/evolve/docs/evolve-app-server/2.8.0/permissions/ for the list of permissions and their access.

* What do I do when I run into CA or SSL issue while attempt to request/download power factory model?
CA used in this request will be OS based, thus it is highly likely the user is missing a package that points the script to it.
Try running the command "pip install pip-system-certs"
4 changes: 2 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
* None.

### Enhancements
* None.
* Added a small F.A.Q section that can be populated in the future from user feed backs.

### Fixes
* None.
* Fixed small issue in get_lvfeeder in request_power_factory_models.

### Notes
* None.
Expand Down
2 changes: 1 addition & 1 deletion src/zepben/examples/request_power_factory_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def get_lvfeeder(feeder) -> Generator[str, None, None]:
)
else:
# Path to include all lvFeeders
yield from (lv['mRID'] for lv in feeder['normalEnergizedFeeders'])
yield from (lv['mRID'] for lv in feeder['normalEnergizedLvFeeders'])


def request_pf_model(equipment_container_list: List[str], filename: str, spread_max_demand: bool = False):
Expand Down
Loading