testframework.clients.brain.tester.pvsystem moduleο
A sub object of the client for interaction with Equipment under Test
- class testframework.clients.brain.tester.pvsystem.PvsystemConnection(client: TestClient)ο
Bases:
object
Provides methods for interacting with the PV System which is the Equipment under Test also named ACBOX - itβs possible to turn supply of pvsystem off and on as well as getting power measurememts for Sampling Point EUT The PV System is connected with 3 phase power L1, L2, L3 refer to the 3 power lines also sometimes named A,B,C
- Usage:
test_client.pvsystem
These can be accessed given an instance of
TestClient
with.car
for example:
Example
>>> def test_pvsystem(self, testbench: TestBench): >>> test_client = TestClient(testbench, default_timeout=30) >>> test_client.pvsystem.get_current_l1() >>> test_client.pvsystem.turn_on_supply()
- get_current_l1() float ο
return current L1 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_current_l2() float ο
return current L2 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_current_l3() float ο
return current L3 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_frequency() float ο
return frequency value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_power_l1() float ο
return power L1 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_power_l2() float ο
return power L2 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_power_l3() float ο
return power L3 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_power_total() float ο
return power total value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_total_energy_export() float ο
return total energy import value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_total_energy_import() float ο
return total energy export value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_voltage_l1() float ο
return voltage L1 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_voltage_l2() float ο
return voltage L2 value measured from power meter at sampling point AC Box where the equipment under test is measured
- get_voltage_l3() float ο
return voltage L3 value measured from power meter at sampling point AC Box where the equipment under test is measured
- turn_off_supply() None ο
turn off equipment under test
- turn_on_supply() None ο
turn on equipment under test