-
Notifications
You must be signed in to change notification settings - Fork 26
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
Appending missing information to the Drasil side of the Documentation #578
Comments
@elwazana, if it helps, I have no objection to the Ap information being given in the Description. It doesn't have to be part of the Equation. |
@smiths That's what I originally thought might fix the problem, but from what @niazim3 and I looked through, the description portion of the Data Definitions seems to be automatically generated based upon the symbols that are used in the equation. |
This is what I was afraid of. The equations have more information associated with them than just their symbols. Yes, we will have to speak with @szymczdm and @JacquesCarette. For instance, we need to capture information about the derivation of equations and about the assumptions that are required for their validity. There may be a better place to put this information, but it has to go somewhere. |
Alright, looks like we need to modify the design a bit. This information should be captured as it is extremely relevant, yet it's not "usable" information right now. This leads me to believe the relevant pieces are missing somewhere "higher up the chain", so to speak. |
Documentation of missing information cases
@szymczdm The problems right now is that these 1) either need to be added to the equation section of the table, which doesn't have a place for any comments (i.e they are formed using only the |
Alright, so 1, 2, and 3 all seem to be looking at supplementary (necessary!) information. These are non-trivial things we need to include. Number 4 should be pretty straightforward, we just need to add a constraint to the phi chunk (wherever that's defined). We should already have the means to do this. For number 5, that might be a new type of information (initial values) that we'll need to capture. But I'll need to take a second look to see if we have a mechanism for that buried somewhere already or not. |
Looking at this again, I believe @smiths' original suggestion is possible. While descriptions are partially generated, they are generated from something. My first reaction is that |
@balacij there are two important pieces of information, the equation for When we have a partial differential equation in space (like the conservation of energy equation) to get a unique solution to the equation we need to specify the boundary conditions at the "edges" of the space. If we specify the temperature at the boundary we have a Dirichlet boundary condition. If we specify the flux (gradient) we have a Neumann boundary condition. The current case being discussed is a Neumann boundary condition. We've never taught Drasil anything about partial differential equations (PDEs), but hopefully there will come a day when we can teach it the theory of PDEs. |
As was noticed in issue smiths/swhs#33 in the swhs repository, there appears to be missing information in the documentation, as per smiths/swhs#50 (comment).
I've fixed that over in the manual version of the docs, and I've started trying to fix them here in Drasil in a separate branch
missingInfo
.However, I ran into a problem trying to append a sentence to the end of an equation.
Should be:
Stable has:
The problem is that the Data Definitions in SWHS in Drasil are defined as of type
QDefinition
, which doesn't take a sentence only aQuantityDict
, anExpr
, aReferences
, and aDerivation
. This may be a design issue in the wayDataDefs
are actually defined. The issue may be related to this comment in theDataDefs.hs
file:The text was updated successfully, but these errors were encountered: