Skip to content

Writing a PV Simulator Driver

jayatsandia edited this page Dec 4, 2018 · 1 revision

Methods

The following methods are included in the pvsim.py abstraction layer.

  • close(self): this closes the communication connection with the equipment
  • info(self): this provides the vendor and model information from the device ("*IDN?" in SCPI)
  • power_on(self): energizes and/or closes the relay to the the power supply
  • irradiance_set(self, irradiance=1000): this sets the irradiance of the PV simulator
  • power_set(self, power): sets the available DC power of the simulator, often by changing the irradiance of the IV curve.
  • profile_load(self, profile_name): loads an irradiance vs. time profile
  • profile_start(self): begins the irradiance vs. time profile defined in the profile_load() method.
Clone this wiki locally