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

[GamePhysics] Displacement Unit Vector DD? #1814

Open
samm82 opened this issue Aug 8, 2019 · 20 comments
Open

[GamePhysics] Displacement Unit Vector DD? #1814

samm82 opened this issue Aug 8, 2019 · 20 comments
Assignees
Labels
needs-clarification Needs a clear 'state', 'goal', 'analysis', and 'explanation' to reduce solution ambiguities.

Comments

@samm82
Copy link
Collaborator

samm82 commented Aug 8, 2019

Should there be a DD added for the displacement unit vector, using the information below? This seems like it is similar to the DDs in Projectile.

dd?

@oluowoj
Copy link
Collaborator

oluowoj commented Aug 12, 2019

@samm82, I guess yes. Do you have this as a DD in the Projectile SRS?

@samm82
Copy link
Collaborator Author

samm82 commented Aug 12, 2019

This exact DD isn't in Projectile, but there are similar ones:
velMag

@oluowoj
Copy link
Collaborator

oluowoj commented Aug 12, 2019

ha I see, I get.

@smiths
Copy link
Collaborator

smiths commented Aug 12, 2019

@samm82, yes, DDs for the magnitude of a vector and for the definition of a unit vector would be good additions to the Drasil knowledge base.

@samm82
Copy link
Collaborator Author

samm82 commented Aug 13, 2019

When you say "additions to the Drasil knowledge base", do you mean that I should make general DDs that should be in drasil-data? If so, I agree, and I believe we discussed this in a previous issue. Where in the data package do you think they should go? There is currently a Theories directory that contains the Physics module - a DD technically isn't a theory, so I don't think this folder makes the most sense for it. Any ideas? @smiths

@smiths
Copy link
Collaborator

smiths commented Aug 13, 2019

@samm82, yes, more general DDs would be good. They don't belong in Physics because these ideas (magnitude and unit vector) are mathematical ideas. Is there a Math module? I haven't kept up on the organization of the data packages. What is your recommendation? We can get @JacquesCarette to say whether your proposal fits with the current hierarchy.

@bmaclach
Copy link
Collaborator

@samm82 I was the one who named that "Theories" directory and I intended it as a place for any general TMs, GDs, DDs, or IMs. I thought "Theories" would be a general enough name to encompass them all, though it might be better to split each type of "theory" into a different file, given the confusion. Or potentially rename it to something less misleading.

@bmaclach
Copy link
Collaborator

(Though with a proper "theory" type in the future from which TMs, GDs, and DDs can all be built, I do think it makes sense to store them all in a "Theories" directory, which is why I named it that).

@samm82
Copy link
Collaborator Author

samm82 commented Aug 13, 2019

Fair enough - I just thought about that before reading your comment 😄 I'll add a Math module there

@smiths
Copy link
Collaborator

smiths commented Aug 13, 2019

@bmaclach, I like the name Theories (unless we think of something better). :-) Something that is a DD in one example might be a TM in another. Whether it is a TM or a DD depends on the specific perspective in a given example. They really are all theories (in a non-mathematical use of the word). Maybe we'll start using the word model more in the future?

@samm82
Copy link
Collaborator Author

samm82 commented Aug 13, 2019

Should the vector magnitude DD from Projectile be specific to speed = |velocity|, or should it be generalized to scalar = |vector|, and then we can use it like "v comes from applying DD: vecMag to v"?

@samm82
Copy link
Collaborator Author

samm82 commented Aug 13, 2019

Same question for the creation of the new DD - should it use displacement, or a generic placeholder vector? @smiths

@smiths
Copy link
Collaborator

smiths commented Aug 13, 2019

Definitely generalized. The concept of magnitude and unit vector are the important generic parts. They already come up in multiple examples (for different vectors).

@samm82
Copy link
Collaborator Author

samm82 commented Aug 14, 2019

Should we have a generic unit as well, to show that the quantities aren't unitless without constraining them to be a certain type?

I'm thinking of a unit with the name "generic unit" that measures "quantity" and has short form "unit". Thoughts? @smiths

@smiths
Copy link
Collaborator

smiths commented Aug 14, 2019

I can see what you are getting at @samm82, but I'm not sure about a generic unit. I think we would need to put some design into this (a type system for units?). I don't think this is something we should throw together quickly. Hopefully you can do the definition without mentioning units.

@samm82
Copy link
Collaborator Author

samm82 commented Aug 14, 2019

Currently, as shown in the following DD, units are always displayed (unless there is the decision made to not display units throughout the entire document).

velMag

A similar issue arises for generic quantities (like a generic vector with an arbitrary symbol). How should we define these, and where? Locally in the Theories.Math module, or in the Quantities.Math module?

@smiths
Copy link
Collaborator

smiths commented Aug 14, 2019

These are good questions. In many instances we will have something abstract that isn't associated with a specific unit, but as it is refined, units will be added. There are other cases where the generic model has units, but the specific instance has different units. For instance, volume in 3D will change from m^3 to m^2 in 2D. I do not have a quick answer for this. Let us plan on discussing this during our "all hands" meeting tomorrow (Thursday).

@JacquesCarette
Copy link
Owner

Theories is good. There can definitely be a Math module under that. This is definitely moving in the right direction.

@samm82
Copy link
Collaborator Author

samm82 commented Aug 15, 2019

Also something to note about this specific issue is that this would involve a TM (Newton's Law) referencing a DD (unit vector), which I don't think is allowed currently.

@smiths
Copy link
Collaborator

smiths commented Aug 15, 2019

Yes, I believe your idea is correct @samm82, although I'm not sure about how you said it. :-) This issue is about the displacement unit vector DD. If we follow through on what we are discussing, then the unit vector definition cannot be a DD. What we are discussing is applying the generic definition of magnitude, or a unit vector, and then creating a local definition for a specific problem. This is a refinement. We can refine theoretical models and general definitions, but as things are currently written, we cannot refine data definitions.

I think this is what you are getting at above, although you mention Newton's Law. I think you are thinking of another issue #1822. We made Newton's Law a TM so that we can refine it to more specific GDs. TMs can reference DDs, they just can't be refined into a DD.

@JacquesCarette JacquesCarette mentioned this issue May 14, 2020
2 tasks
@balacij balacij added needs-clarification Needs a clear 'state', 'goal', 'analysis', and 'explanation' to reduce solution ambiguities. and removed question labels Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-clarification Needs a clear 'state', 'goal', 'analysis', and 'explanation' to reduce solution ambiguities.
Projects
None yet
Development

No branches or pull requests

6 participants