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

Requirements not Reused between SWHS and NoPCM #1281

Closed
11 tasks done
samm82 opened this issue May 7, 2019 · 6 comments · Fixed by #1309
Closed
11 tasks done

Requirements not Reused between SWHS and NoPCM #1281

samm82 opened this issue May 7, 2019 · 6 comments · Fixed by #1309
Assignees

Comments

@samm82
Copy link
Collaborator

samm82 commented May 7, 2019

(Came from working on #1229 and #1276)

There are a lot of similar (almost) identical functional requirements that are defined individually in SWHS and NoPCM and should be reused. There are also some discrepancies from the manual, as described in #439 that should be fixed in both examples (if/when applicable).

TODO

In branch swhsNoPCMReqs

@samm82 samm82 self-assigned this May 7, 2019
@samm82

This comment has been minimized.

@smiths

This comment has been minimized.

@samm82
Copy link
Collaborator Author

samm82 commented May 9, 2019

@smiths Is the assumption here (in the first FR of SWHS) really necessary? This FR only deals with inputting the values, and this assumption seems to apply more to calculations. This assumption and its reference aren't in NoPCM.

swhsFR1

@samm82
Copy link
Collaborator Author

samm82 commented May 9, 2019

@smiths Also, the table in Drasil for FR1 is missing these quantities:
image

@samm82
Copy link
Collaborator Author

samm82 commented May 9, 2019

(I think I should have kept #439 open 😬)

@smiths This equation is wrong in Drasil:
image

This could be an example of what we discussed in our meeting; it doesn't look like Drasil knows about the volume formula for a cylinder.

@smiths
Copy link
Collaborator

smiths commented May 9, 2019

@samm82, try to keep one topic per issue. It makes it easier to address your questions, and it should lead to closing the easy issue quickly.

For your first sub-issue (unnecessary assumption), if you look at the manual case study (https://github.com/smiths/swhs/blob/master/docs/SRS/PCM_SRS.pdf) you will see that a mistake was made in translating from manual to Drasil. It is really a shame that mistakes like this are still cropping up. 😞 The assumption that the volume is negligible goes with the Find-Mass requirement. If you look at the derivation it assumes that the mass of the water is based on the volume of the water, which is calculated from the volume of the tank, minus the volume of the PCM. Technically the coil volume should also be subtracted, but the assumption means that we can ignore this. Please move the assumption to be with the correct requirement.

For your second sub-issue, you should add the missing inputs to the table of input variables.

For your third sub-issue, you are also correct that Drasil has the wrong formula. I think this is just a mistake with someone entering the formulae. I don't believe we have "taught" Drasil the volume formulas yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants