Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError Exception when importing dynamic data of Synchronous Machines #23

Open
martinmoraga opened this issue Oct 10, 2023 · 0 comments · May be fixed by #24
Open

TypeError Exception when importing dynamic data of Synchronous Machines #23

martinmoraga opened this issue Oct 10, 2023 · 0 comments · May be fixed by #24
Assignees
Labels
bug Something isn't working

Comments

@martinmoraga
Copy link
Contributor

martinmoraga commented Oct 10, 2023

The parameter inertia of the class RotatingMachineDynamics is initialized in the contructor as an integer (see here).

When importing dynamic data, cimimport is converting the values of the cim files using the default value of the cimpy classes. That means, that cimimport tries to read the parameter inertia fro the CIM files as an integer and not as a float which traslante into an exception when reading dynamic data of cim topologies (see here)

The same bahaviour can be observed in the class SynchronousMachineTimeConstantReactance. The parameters tpdo, tppdo, tpqo, tppqo, tc should be initialized as floats in the contructor of the class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant