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

Add missing quasi-static FluxTubes models #3326

Merged

Conversation

christiankral
Copy link
Contributor

The Magnetic.FluxTubes library contains some fixed shape models which have been forgotten to be implemented in the quasi static FluxTubes library. This PR provides the missing models and the "same" examples implemented in Magnetic.FluxTubes.Examples.

@christiankral christiankral added enhancement New feature or enhancement L: Magnetic.QuasiStatic Issue addresses Modelica.Magnetic.QuasiStatic labels Jan 15, 2020
@christiankral christiankral added this to the MSL4.0.0 milestone Jan 15, 2020
Copy link
Member

@beutlich beutlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\QuadraticCoreAirgap.mo": line 141 column 1 - Info: value for attribute "border" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\QuadraticCoreAirgap.mo": line 141 column 1 - Info: value for attribute "cellspacing" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\QuadraticCoreAirgap.mo": line 141 column 1 - Info: value for attribute "cellpadding" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\QuadraticCoreAirgap.mo": line 157 column 1 - Warning: trimming empty <p> (TRIM_EMPTY_ELEMENT)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\ToroidalCoreAirgap.mo": line 102 column 1 - Info: value for attribute "border" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\ToroidalCoreAirgap.mo": line 102 column 1 - Info: value for attribute "cellspacing" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\ToroidalCoreAirgap.mo": line 102 column 1 - Info: value for attribute "cellpadding" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\ToroidalCoreQuadraticCrossSection.mo": line 101 column 1 - Info: value for attribute "border" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\ToroidalCoreQuadraticCrossSection.mo": line 101 column 1 - Info: value for attribute "cellspacing" missing quote marks (MISSING_QUOTEMARK_OPEN)
File ".\Modelica\Magnetic\QuasiStatic\FluxTubes\Examples\BasicExamples\ToroidalCoreQuadraticCrossSection.mo": line 101 column 1 - Info: value for attribute "cellpadding" missing quote marks (MISSING_QUOTEMARK_OPEN)

@dietmarw
Copy link
Member

@christiankral From the Travis CI (see link below on the failing test too):

syntax error on line 141 of Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap.mo: expected `)` but received `1`

syntax error on line 101 of Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection.mo: expected `)` but received `1`

syntax error on line 102 of Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap.mo: expected `)` but received `1`

@dietmarw
Copy link
Member

@christiankral Basically you forgot to escape the quotes.

@christiankral
Copy link
Contributor Author

@christiankral Basically you forgot to escape the quotes.

Yes indeed! I definitely did not think of escaping the quotes. Thanks. I will fix it.

@beutlich beutlich removed their request for review January 16, 2020 15:36
of the models introduced by this PR (so no separate PR is required)
@beutlich
Copy link
Member

Is this related to #3218?

@christiankral
Copy link
Contributor Author

Is this related to #3218?

Yes it is -- I forgot about linking this PR to #3218.

Co-Authored-By: Dietmar Winkler <dietmar.winkler@dwe.no>
@beutlich beutlich changed the title Add missing quasi static FluxTubes models Add missing quasi-static FluxTubes models Jan 17, 2020
@beutlich beutlich assigned dietmarw and unassigned beutlich Jan 17, 2020
@dietmarw dietmarw merged commit 8ecfdd3 into modelica:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement L: Magnetic.QuasiStatic Issue addresses Modelica.Magnetic.QuasiStatic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants