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