Skip to content

Conversation

@baggepinnen
Copy link
Contributor

The previous interface required the user to provide a value of gainPI.k, now there is an outer parameter k that forwards to the inner parameter. This makes PI consistent with the other controller definitions and avoids mentioning the internal implementation detail gainPI.

@baggepinnen baggepinnen requested a review from ven-k October 3, 2023 13:20
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Merging #230 (84793a1) into main (0fbd414) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #230   +/-   ##
=======================================
  Coverage   55.31%   55.31%           
=======================================
  Files          48       48           
  Lines        1609     1609           
=======================================
  Hits          890      890           
  Misses        719      719           
Files Coverage Δ
src/Blocks/continuous.jl 90.97% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ven-k
Copy link
Member

ven-k commented Oct 3, 2023

Here: https://github.com/SciML/ModelingToolkitStandardLibrary.jl/pull/230/files#diff-2c628e949fda2edfd7af3ee31fbf986535a6b1e959d92d03be9ca070a4b633aeR209
it should be changed to gainPI = Gain(; k = k).
(Rn, internally it still sets k of Gain is defaulted to 1.0)

@baggepinnen baggepinnen merged commit 8a3d561 into main Oct 4, 2023
@baggepinnen baggepinnen deleted the fb/PI_docs branch October 4, 2023 03:52
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

Successfully merging this pull request may close these issues.

3 participants