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

[BUG] DSS Linecode normamps and emergamps are not parsed #478

Open
hei06j opened this issue Nov 29, 2024 · 0 comments
Open

[BUG] DSS Linecode normamps and emergamps are not parsed #478

hei06j opened this issue Nov 29, 2024 · 0 comments

Comments

@hei06j
Copy link
Contributor

hei06j commented Nov 29, 2024

The current ratings specified in dss linecode as normamps and emergamps are not passed to the engineering model. It seems that in the create_dss_object function for linecodes, they are not considered.

Similar to creating objects for wiredata, adding the following lines should be helpful.

normamps = :normamps ∈ raw_fields ? linecode.normamps : :emergamps ∈ raw_fields ? linecode.emergamps / 1.5 : 400.0
emergamps = :emergamps ∈ raw_fields ? linecode.emergamps : :normamps ∈ raw_fields ? linecode.normamps * 1.5 : 600.0

linecode.normamps = normamps
linecode.emergamps = emergamps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant