Undefined variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Undefined variable
Hello,
After a few hours of searching the web to finally get my calculation done. I don't have find a reason why I get the error undefined variable.
Can you please help me out with this?
Thank you!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Then you will need to sort out your units. You only provide units for alpha1, so you will run into a units problem.
Be sure to provide consistent units for all of your parameters, or provide none at all.
And finally your problem is reasonably straightforward, you don't need a solve-block:
Success!
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You get the undefined value's because they're actually not 'defined'.
While you (probably) can put the expressions for dmax, alpha1 etc. in the 'guess values' section, you MUST describe them as assignments, not as constraints.
Change the solid '=' to an assignment ':=' for dmax through T3 and I think it will work. I cannot check, because I'm limited to Prime express.
Of course the two constraints for Phi must be written with a solid '=', that's OK in your sheet.
Success!
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Then you will need to sort out your units. You only provide units for alpha1, so you will run into a units problem.
Be sure to provide consistent units for all of your parameters, or provide none at all.
And finally your problem is reasonably straightforward, you don't need a solve-block:
Success!
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Luc thank you for you're help!
