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

Tracking S231P public review comments #143

Open
4 of 6 tasks
anandkp92 opened this issue Jan 2, 2024 · 7 comments
Open
4 of 6 tasks

Tracking S231P public review comments #143

anandkp92 opened this issue Jan 2, 2024 · 7 comments

Comments

@anandkp92
Copy link
Member

anandkp92 commented Jan 2, 2024

@anandkp92
Copy link
Member Author

anandkp92 commented Feb 8, 2024

@mwetter
Copy link
Member

mwetter commented Mar 7, 2024

Consider changing TrueHoldWithReset to TrueHold: lbl-srg/modelica-buildings#3689
done

@JayHuLBL
Copy link
Contributor

JayHuLBL commented Mar 12, 2024

In the section 7.5 Elementary block:

  • Every block should have the icon.
  • The icons' color are not consistent. Block like Add exists in both Reals and Integers packages, but the icon color is blue (indicating it is a block in the Reals package).
  • In the documentation when there is a line change, it is possible that one word might be cut-off.
  • In the description, it should use the font Courier New for the variable names.
  • Functions should be reformatted.
  • Some hyperlink should be removed, like in the description of the block Reals.Sin.
  • There areSwitch blocks in CDL.Logical and CDL.Integers, and also CDL.Reals This corrected in Word
  • It's necessary to redraw some figures, as some figures are too big (TrueHoldWithReset), or too small (Latch).
  • Differentiate Enthalpy and SpecificEnthalpy.
  • OnCounter block should be in the Integers package. mwetter: Reported by email, 10/30/24
  • Blocks in the Sources package should be the sub package of Reals, Integers, and Logical.
  • In CDL, there are Buildings.Controls.OBC.CDL.Constants and Buildings.Controls.OBC.CDL.Types. Where should this enumeration and the constants be introduced? mwetter: Reported by email, 10/30/24

@mwetter
Copy link
Member

mwetter commented Apr 3, 2024

@anandkp92
Copy link
Member Author

anandkp92 commented May 16, 2024

  • add following specification: ensure that parameters have one of default
annotation (__cdl(default=0))

or a value binding (parameter k = 0) so that we can evaluate expressions.

Edit mwetter, 10/30/24: Based on last weeks discussion this is not needed: If modelica-json evaluates expressions but there is a parameter with no binding, then this expression should be removed. If modelica-json is invoked in a way that retains expressions, then it works for expressions that have parameters without a binding.

@anandkp92
Copy link
Member Author

  • update CXF section to include how to represent extension blocks

@anandkp92
Copy link
Member Author

anandkp92 commented Nov 6, 2024

  • move section 7.2 data types for elementary blocks to sec 6 (describe use of analog type in CXF)
  • how to handle Reals/Integers -> analogs (in CXF) and back? IF we start from CDL, and we change Reals into Analog, we can track "this analog was originally a real". But if we start from a tool that only does Analog, then we'll need a instance-level tracking to change it back into real/integers. Do we need to change CDL.Reals.Add -> CDL(or CXF).Analog.Add?

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

3 participants