tdcosim / TDcoSim

T&D co-simulation package
Other
24 stars 8 forks source link

BUG: Trying to get into "pvder_aggregate.py" #17

Closed PatelShyamal closed 4 years ago

PatelShyamal commented 4 years ago

Describe the bug Warning: No handlers could be found for logger "SolarPV_DER_ThreePhase"

To Reproduce Trying to run the given example files using time domain simulations. Trying to get into "pvder_aggregate.py" class using breakpoints

Expected behavior Simulation is configured for 10% PV penetration. Simulation not pausing at "pvder_aggregate.py" breakpoints.

Desktop (please complete the following information):

sibyjackgrove commented 4 years ago

Warning: No handlers could be found for logger "SolarPV_DER_ThreePhase"

This is not really a bug. It's just a warning output from the logger object that was created by the SolarPV_DER_ThreePhase instance. The logging level set to INFO to and it is supposed to print the details of the PV-DER object created. However, I am not sure why it prints this particular warning and need to look into it. But it doesn't impact the rest of the code in any way. So the bug:

Simulation not pausing at "pvder_aggregate.py" breakpoints.

must be caused by something else.

sibyjackgrove commented 4 years ago

The warning will no longer be printed since I added a dummy logger. Resolved with 5531dee0183542d8a02251c2b8f1c0b304d9d994.