testframework.clients.brain.tester.wallbox moduleο
A sub object of the client for interaction with the Wallbox connection
- class testframework.clients.brain.tester.wallbox.WallboxConnection(client: TestClient)ο
Bases:
object
Provides methods for interacting with the wallbox connection. Itβs possible to get power measurements at the wallbox connection
- Usage:
test_client.wallbox
These can be accessed given an instance of
TestClient
with.wallbox
for example:
Example
>>> def test_wallbox(self, testbench: TestBench): >>> test_client = TestClient(testbench, default_timeout=30) >>> test_client.wallbox.get_power_l1() >>> test_client.wallbox.get_frequency()
- get_current_l1() float ο
return current L1 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_current_l2() float ο
return current L2 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_current_l3() float ο
return current L3 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_frequency() float ο
return frequency value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_power_l1() float ο
return power L1 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_power_l2() float ο
return power L2 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_power_l3() float ο
return power L3 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_power_total() float ο
return power total value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_total_energy_export() float ο
return total energy export value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_total_energy_import() float ο
return total energy import value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_voltage_l1() float ο
return voltage L1 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_voltage_l2() float ο
return voltage L2 value measured from power meter at sampling point Wallbox where the Wallbox is measured
- get_voltage_l3() float ο
return voltage L3 value measured from power meter at sampling point Wallbox where the Wallbox is measured