Skip to content

Conversation

@HansOlsson
Copy link
Contributor

Ccompare with af01213
If you want unit="1" for a gain-block, add parameter with unit="1" as in the updated test-case.
Closes #3878

If you want unit="1" for a gain-block, add parameter with unit="1" as in the updated test-case.
Closes modelica#3878
Copy link
Member

@dietmarw dietmarw left a comment

Choose a reason for hiding this comment

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

I think this is the cleaner way to resolve the issue.

Copy link
Contributor

@christiankral christiankral left a comment

Choose a reason for hiding this comment

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

I think this is a sound solution now.

@beutlich beutlich added the L: ModelicaTest Issue addresses ModelicaTest, ModelicaTestConversion4 or ModelicaTestOverdetermined label Nov 12, 2021
@beutlich beutlich added this to the MSL4.1.0 milestone Nov 12, 2021
@beutlich beutlich changed the title Revert major part of #227… Revert major part of #227 and remove unit from gain parameter of Modelica.Blocks.Continuous.* blocks and Modelica.Blocks.Math.Gain Nov 12, 2021
@beutlich beutlich changed the title Revert major part of #227 and remove unit from gain parameter of Modelica.Blocks.Continuous.* blocks and Modelica.Blocks.Math.Gain Revert major part of #227, and remove unit from gain parameter of Modelica.Blocks.Continuous.* blocks and Modelica.Blocks.Math.Gain Nov 12, 2021
@MartinOtter MartinOtter merged commit 786bfb7 into modelica:master Nov 16, 2021
@beutlich beutlich removed the request for review from AHaumer November 16, 2021 23:15
HansOlsson added a commit to HansOlsson/Modelica that referenced this pull request Sep 30, 2022
This is related to modelica#3881
These changes are completely safe.
@HansOlsson HansOlsson deleted the Revert227 branch October 12, 2022 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: Blocks Issue addresses Modelica.Blocks L: ModelicaTest Issue addresses ModelicaTest, ModelicaTestConversion4 or ModelicaTestOverdetermined

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit-checking using Gain and LimIntegrator-blocks

5 participants