testframework.clients.brain.tester.solar module

A sub object of the client for Solar Simulation

class testframework.clients.brain.tester.solar.SolarConnection(contactor_client: TestClient)

Bases: object

Provides methods for interacting with the Solar Simulation which is DC Suitcase It’s possible to turn on and off constant pv input from DC Suitcase

Usage:

test_client.solar

These can be accessed given an instance of TestClient with .solar for example:

Example

>>> def test_solar(self, testbench: TestBench):
>>>    test_client = TestClient(testbench, default_timeout=30)
>>>    test_client.solar.set_constant_input()
>>>    test_client.solar.set_input_off()
set_constant_input() None

turns on DC Suitcase simuating Solar/PV Input

set_input_off() None

turns off DC Suitcase simuating Solar/PV Input