Skip to content

Repository to provide scripts to generate and validate transformer calculation results.

License

Notifications You must be signed in to change notification settings

ckittl/transformerCalculationValidation

Repository files navigation

Transformer Calculation Validation

As part of my Ph.D. thesis work I'd like to compare and validate transformer calculations of ie³'s internal behavior oriented and agent based simulation tool SIMONA against the well known and recognized simulation tools pandapower and DIgSILENT PowerFactory.

This repository aims in supplying scripts and models to obtain comparative calculations as well as means to evaluate the results.

Prerequisites to control DIgSILENT PowerFactory with provided scripts

Select an appropriate Python interpreter

You may reach this setting via Tools > Configuration... and there in the section External Applications. Unfortunately, to my knowledge, DIgSILENT PowerFactory to my knowledge does not support virtual environments (tested with version 2021 SP 2). Please point PowerFactory to a directory of your desired Python interpreter. Note, that choosing a version here has some drawbacks (cf. next section).

Have dependencies ready on your host machine.

As already stated, you are not able to select a virtual environment as Python interpreter. Thus, you need to have all required dependencies ready within your host machine's Python installation. As of now they are:

  • numpy
  • json

Moreover, due to search path's root being the executed script, you need to install this package to your local Python installation. This is, because we use code that is shared among different simulator control scripts. To install this script, invoke:

python -m pip install -e <path to this project>

Attention: Make sure to install this project into the correct Python interpreter! Better choose a path to one of your installed environments to be sure (cf. figure above)!

If you afterwards want to get rid of this project, please invoke:

python -m pip uninstall tcv

Configure the control script

You may find the control script object TestBenchControl.ComPython in the project's library at path Scripts. Please make sure, that you have properly configured the object.

About

Repository to provide scripts to generate and validate transformer calculation results.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published