Comments (6)
You did not mention add_input
and add_output
at component level, though WhatsOpt could enforce it here too. Whats is the rationale? Does it let the component implementation use compatible units?
from whatsopt.
Actually, I don't need any change in these methods in my use case, as I use my own implementation of disciplines. But for sake of consistency, I guess you may declare units in these methods as well.
from whatsopt.
add_input
and add_output
are in the setup
in the base files. Do you override this method when you use your implementations? If not how does it work if you use compatible but different units than the ones specified by WhatsOpt in the setup?
from whatsopt.
add_input
andadd_output
are in thesetup
in the base files. Do you override this method when you use your implementations?
I override the create_*()
methods to use my own implementations of the disciplines, that do not inherit from the base classes. Therefore, the generated base classes for these disciplines are not used. Of course, I know that in such case, I am responsible for keeping my inputs and outputs consistent.
If not how does it work if you use compatible but different units than the ones specified by WhatsOpt in the setup?
Currently, it does not work, that's the point 😁. But once the inputs will have been declared with proper units, OpenMDAO will gracefully do the conversion, and then, it will be great!
from whatsopt.
Ok, I will also add units at component level (it was my concern in the first place it gets in the way if I do). And you can test right now as the feature is deployed.
from whatsopt.
Many thanks. I will test that very soon!
from whatsopt.
Related Issues (20)
- Optimizations list HOT 1
- Optimization removal HOT 1
- Optimizer log HOT 1
- Optimization limit
- Optimization plotting
- Optimization creation info
- Optimization context creation
- Optimization execution HOT 1
- Optimizations comparison
- Optimization data export HOT 1
- Optimization UI improvements HOT 2
- Test broken with openturns 1.21
- Sub-packages not included in generated pyproject.toml HOT 1
- Package date should change when archive is updated
- Upgrade/test thrift 0.18.0 HOT 1
- DOE script does not take into account integer design variable type HOT 1
- Search analysis feature
- GUI: Allowing to define bound constraints HOT 1
- GUI: Variable table: order is reset after each modification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsopt.