testframework.clients.brain.tester.grid moduleο
A sub object of the client for interaction with Grid Connection Point
- class testframework.clients.brain.tester.grid.GridConnection(client: TestClient)ο
Bases:
object
Grid connection to be used in Test Cases.
Provides methods for interacting with the Grid Connection Point. Itβs possible to connect and disconnect to the grid with a circuit breaker. Also provides access to every single datapoint of testbench power meter at grid connection point
- Usage:
Given a TestClient with
TestClient(testbench, 30)
you can use the Grid connection with testclient.grid.xx- The grid connection provides this functionality
connect()
disconnect()
get_power_total()
get_power_l1()
β¦ - get_current_l1()
- connect() None ο
turns on grid connection point enabling power flow to and from the grid.
- disconnect() None ο
turns off grid connection point circuit breaker disabling power flow to and from the grid
- get_current_l1() float ο
return current value measured from power meter at sampling point Grid where the grid connection point is measured
- get_current_l2() float ο
return current value measured from power meter at sampling point Grid where the grid connection point is measured
- get_current_l3() float ο
return current value measured from power meter at sampling point Grid where the grid connection point is measured
- get_frequency() float ο
return frequency value measured from power meter at sampling point Grid where the grid connection point is measured
- get_power_l1() float ο
Return power L1 value measured from power meter at sampling point Grid where the grid connection point is measured
Positive Values represent an power flow from the Testbench into the grid.
- get_power_l2() float ο
return power L1 value measured from power meter at sampling point Grid where the grid connection point is measured Positive Values represent an power flow from the Testbench into the grid.
- get_power_l3() float ο
return power L1 value measured from power meter at sampling point Grid where the grid connection point is measured
Positive Values represent an power flow from the Testbench into the grid.
- get_power_total() float ο
Return power total value measured from power meter at sampling point Grid where the grid connection point is measured.
Positive Values represent an power flow from the Testbench into the grid.
- get_total_energy_export() float ο
return total energy export towards grid measured from power meter at sampling point Grid where the grid connection point is measured
- get_total_energy_import() float ο
return total energy import from grid measured from power meter at sampling point Grid where the grid connection point is measured
- get_voltage_l1() float ο
return voltage value measured from power meter at sampling point Grid where the grid connection point is measured
- get_voltage_l2() float ο
return voltage value measured from power meter at sampling point Grid where the grid connection point is measured
- get_voltage_l3() float ο
return voltage value measured from power meter at sampling point Grid where the grid connection point is measured