OpPoDyn
Documentation for OpPoDyn.
Project Structure
The project is structured as follows
OpPoDyn/
├── assets: contains asses for reference tests
├── docs: contains this documentation
├── OpPoDynTesting: helper package for testing, defines test utilities like reference tests
├── Project.toml
├── src: source code
│ ├── Library: submodule for library, all the models live here
│ └── ...
└── test: test code
At this stage, this project is meant to be used with the main
branch from NetworkDynamics. Unfortunately, it also depends on the unregistered subpackage OpPoDynTesting
which makes instantiating the environment a bit tricky (because you can neither add NetworkDynamics#main
nor OpPoDyntesting#../OpPoDynTesting
without it complaining about the other dependency. Thanks to the [sources]
block in Project.toml
in Julia v1.11, this shouldn'te be a problem anymore.
If you want to use the realse version of Julia v1.10 I suggest to create a new development environment:
julia> pwd() # make sure you're in the right folder
".../.julia/dev/OpPoDyn"
(v1.10) pkg> activate devenv
(devenv) pkg> dev NetworkDynamics
(devenv) pkg> dev ./OpPoDyntesting
(devenv) pkg> dev .
OpPoDyn.BusBar
OpPoDyn.LineEnd
OpPoDyn.Terminal
OpPoDyn.PFInitConstraint
OpPoDyn.PFInitFormula
OpPoDyn.Bus
OpPoDyn.CompositeInjector
OpPoDyn.Line
OpPoDyn.MTKBus
OpPoDyn.MTKLine
OpPoDyn.add_pfinitconstraint!
OpPoDyn.add_pfinitformula!
OpPoDyn.copy_pf_parameters
OpPoDyn.delete_pfinitconstraints!
OpPoDyn.delete_pfinitformulas!
OpPoDyn.get_pfinitconstraints
OpPoDyn.get_pfinitformulas
OpPoDyn.has_pfinitconstraint
OpPoDyn.has_pfinitformula
OpPoDyn.initialize_from_pf
OpPoDyn.isbranchmodel
OpPoDyn.isbusmodel
OpPoDyn.isinjectormodel
OpPoDyn.islinemodel
OpPoDyn.ispfmodel
OpPoDyn.pfPQ
OpPoDyn.pfPV
OpPoDyn.pfSlack
OpPoDyn.powerflow_model
OpPoDyn.set_pfinitconstraint!
OpPoDyn.set_pfinitformula!
OpPoDyn.show_powerflow
OpPoDyn.solve_powerflow
OpPoDyn.@pfinitconstraint
OpPoDyn.@pfinitformula
Funding
Development of this project was in part funded by the German Federal Ministry for Economic Affairs and Climate Action as part of the OpPoDyn-Project (Project ID 01258425/1, 2024-2027).