diff --git a/gridappsd-field-bus-lib/gridappsd_field_bus/field_interface/context_managers/context_manager_agents.py b/gridappsd-field-bus-lib/gridappsd_field_bus/field_interface/context_managers/context_manager_agents.py index 4175566..8039008 100644 --- a/gridappsd-field-bus-lib/gridappsd_field_bus/field_interface/context_managers/context_manager_agents.py +++ b/gridappsd-field-bus-lib/gridappsd_field_bus/field_interface/context_managers/context_manager_agents.py @@ -25,7 +25,7 @@ def __init__(self, self.ot_connection = GridAPPSD() if substation_dict is None: - request = {'request_type': 'get_context', 'modelId': downstream_message_bus_def.id} + request = {'request_type': 'get_context', 'areaId': downstream_message_bus_def.id} substation_dict = None while substation_dict is None: self.ot_connection.get_logger().debug(f"Requesting topology for {self.__class__}") @@ -63,7 +63,7 @@ def __init__(self, self.ot_connection = GridAPPSD() if feeder_dict is None: - request = {'request_type': 'get_context', 'modelId': downstream_message_bus_def.id} + request = {'request_type': 'get_context', 'areaId': downstream_message_bus_def.id} feeder_dict = None while feeder_dict is None: self.ot_connection.get_logger().debug(f"Requesting topology for {self.__class__}") diff --git a/gridappsd-field-bus-lib/pyproject.toml b/gridappsd-field-bus-lib/pyproject.toml index 0bba014..38d9059 100644 --- a/gridappsd-field-bus-lib/pyproject.toml +++ b/gridappsd-field-bus-lib/pyproject.toml @@ -27,6 +27,7 @@ python = ">=3.10,<4.0" gridappsd-python = "^2025.2.1a2" cim-graph = "^0.1.8a0" click = "^8.1.8" +"python-dotenv" = "^1.0.1" [tool.poetry.scripts] # Add things in the form