diff --git a/README.md b/README.md index c06900e..4eb4012 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/changelog.md b/changelog.md index c9697ba..6b32a4c 100644 --- a/changelog.md +++ b/changelog.md @@ -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. diff --git a/src/zepben/examples/request_power_factory_models.py b/src/zepben/examples/request_power_factory_models.py index 3e432b4..ed027f4 100644 --- a/src/zepben/examples/request_power_factory_models.py +++ b/src/zepben/examples/request_power_factory_models.py @@ -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):