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

New example differential amplifier #3242

Merged
merged 11 commits into from
Dec 15, 2019

Conversation

AHaumer
Copy link
Contributor

@AHaumer AHaumer commented Nov 30, 2019

I implemented an example of a differential amplifier for measurement.

@AHaumer AHaumer added L: Electrical.Analog Issue addresses Modelica.Electrical.Analog example Issue only addresses example(s) labels Nov 30, 2019
@AHaumer AHaumer added this to the MSL4.0.0 milestone Nov 30, 2019
@AHaumer AHaumer self-assigned this Nov 30, 2019
@christiankral
Copy link
Contributor

I proposed some formal changes of the documentation. On my opinion the "one sentence = one paragraph" style shall be avoided. If the changes are accepted, I am fine with this PR.

AHaumer and others added 3 commits December 1, 2019 09:57
Co-Authored-By: Christian Kral <dr.christian.kral@gmail.com>
Co-Authored-By: Christian Kral <dr.christian.kral@gmail.com>
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.

  • Tested that it runs in SimuationX and Dymola checks it without errors.
  • Not sure if DifferentialAmplifierData really belongs to Modelica.Electrical.Analog.Examples.OpAmps.OpAmpCircuits. I'd prefer to have it as local record type definition within the example model.
  • Should we rename NonInvertingAmp to NonInvertingAmplifier for consistency? Similarly for InvertingAmp.

Modelica/Electrical/Analog/Examples/OpAmps.mo Outdated Show resolved Hide resolved
Modelica/Electrical/Analog/Examples/OpAmps.mo Outdated Show resolved Hide resolved
Modelica/Electrical/Analog/Examples/OpAmps.mo Outdated Show resolved Hide resolved
Modelica/Electrical/Analog/Examples/OpAmps.mo Outdated Show resolved Hide resolved
Modelica/Electrical/Analog/Examples/OpAmps.mo Outdated Show resolved Hide resolved
AHaumer and others added 6 commits December 8, 2019 14:48
Co-Authored-By: Thomas Beutlich <modelica@tbeu.de>
Co-Authored-By: Thomas Beutlich <modelica@tbeu.de>
Co-Authored-By: Thomas Beutlich <modelica@tbeu.de>
Co-Authored-By: Thomas Beutlich <modelica@tbeu.de>
@AHaumer AHaumer requested a review from beutlich December 8, 2019 13:57
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.

Two suggestions:

  1. in general I find it easier to read and recognise numbers in 100e3 format rather than 100E3 (both are legal I know).
  2. would place the DifferentialAmplifier right after the InvertingAmplifier in the package.

@AHaumer
Copy link
Contributor Author

AHaumer commented Dec 11, 2019

@dietmarw : done

@AHaumer AHaumer dismissed beutlich’s stale review December 15, 2019 06:33

should be resolved

@AHaumer AHaumer merged commit acb7d7c into modelica:master Dec 15, 2019
@AHaumer AHaumer deleted the DifferentialAmplifier branch December 22, 2019 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Issue only addresses example(s) L: Electrical.Analog Issue addresses Modelica.Electrical.Analog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants