10 #include <dpsim-models/CSVReader.h>
11 #include <dpsim-models/IdentifiedObject.h>
12 #include <dpsim/RealTimeSimulation.h>
13 #include <dpsim/Simulation.h>
14 #include <dpsim/pybind/BaseComponents.h>
15 #include <dpsim/pybind/Utils.h>
19 namespace py = pybind11;
20 using namespace pybind11::literals;
22 void addAttributes(py::module_ m) {
24 py::class_<CPS::AttributeBase, CPS::AttributePointer<CPS::AttributeBase>>(
31 py::class_<CPS::Attribute<CPS::Real>,
38 py::class_<CPS::AttributeStatic<CPS::Real>,
41 py::class_<CPS::AttributeDynamic<CPS::Real>,
46 py::class_<CPS::Attribute<CPS::Complex>,
57 py::class_<CPS::AttributeStatic<CPS::Complex>,
60 py::class_<CPS::AttributeDynamic<CPS::Complex>,
65 py::class_<CPS::Attribute<CPS::Matrix>,
73 py::class_<CPS::AttributeStatic<CPS::Matrix>,
76 py::class_<CPS::AttributeDynamic<CPS::Matrix>,
81 py::class_<CPS::Attribute<CPS::MatrixComp>,
89 py::class_<CPS::AttributeStatic<CPS::MatrixComp>,
92 py::class_<CPS::AttributeDynamic<CPS::MatrixComp>,
98 py::class_<CPS::Attribute<CPS::String>,
104 py::class_<CPS::AttributeStatic<CPS::String>,
107 py::class_<CPS::AttributeDynamic<CPS::String>,
virtual String toString()=0