Search found 19 matches
- 25 October 2022, 14:56
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
Ok thanks, but I will leave it like this for the moment.
- 24 October 2022, 08:53
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
What is then the difference to the status quo? It is already a GUI with fields to be filled in for each parameter.
- 21 October 2022, 13:09
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
That is not what I want. If a parameter is not specified, I want to use defaults which are set elsewhere. Currently, those defaults are used, if the parameter is nan. I forwarded your comment The missing value for a real number in CAPE-OPEN is IEEE NaN. This is specified in the M&T guidelines. T...
- 19 October 2022, 13:54
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
Ok, what does that come down to? As I read your answer, it should work. But it doesn't.
Is there anything I can do?
Is there anything I can do?
- 19 October 2022, 08:06
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
The problems of the parameter in question were due to a space in the parameter creation. E.i. the diff of the fix is: - par = RealParameterObject::CreateParameter(L"porosity ", L"[-]", 0, NaN, NaN, dimensionality, &valStatus, CAPE_INPUT); + par = RealParameterObject::CreatePa...
- 10 October 2022, 12:24
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
Yes, I use Visual Studio. Why do you ask?
It works in DWSIM. So the problem seems to be Pro-II related.
I see whether I can get some help from Pro-II.
It works in DWSIM. So the problem seems to be Pro-II related.
I see whether I can get some help from Pro-II.
- 04 October 2022, 11:14
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
I haven't succeeded in actual debugging, but printed values of parameters to file. It turns out that the parameters, with which I am having problems, have a **fixed** value, e.g. nan, -83, -0.649452 when I print them to file. It is not influenced by my giving numbers to the parameters in question. H...
- 21 September 2022, 09:51
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
I put the log file here: https://mettwolke.dukun.de/s/WaE4AskFmyXnedE What I did is open the "CAPE-OPEN Settings" of the item in the flowsheet and 1. setting a parameter, called "theta_ref ..." to 860 2. clearing a parameter, called "h_layer ..." 3. setting the paramete...
- 19 September 2022, 21:42
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Re: Value of StringParameter not saved in Pro-II
Cheers. It works well for the first 33 input parameters (8 string parameters, 25 real parameters), but somehow the 34th input parameter is not saved and loaded. All further input parameters (35th, ...) are also not saved and loaded. If I save and load all variables (in and output) - which are 58 in ...
- 15 September 2022, 12:16
- Forum: Unit Operations
- Topic: Value of StringParameter not saved in Pro-II
- Replies: 20
- Views: 41298
Value of StringParameter not saved in Pro-II
In the CPPMixerSplitter example I implemented a StringParameter analogously to a RealParameter, like described here: http://www.cape-open-forum.org/viewtopic.php?f=17&t=743&start=20 I use the UO within Pro-II. This works well for both cases: the string parameter is an output or input paramet...