Search found 7 matches

by desyk
22 September 2025, 16:39
Forum: CAPE-OPEN Binary Interop Architecture
Topic: Posting non-error messages to the PME
Replies: 7
Views: 21301

Re: Posting non-error messages to the PME

I installed the COBIA SDK on my PC in January 2025, so it must have been 1.2.1.0, which released in February 2024. I cannot be sure, though, since I updated to 1.2.1.2 shortly before I posted my previous reply in this thread (that's when it occurred to me that this might be the cause). I can confirm...
by desyk
17 September 2025, 14:04
Forum: CAPE-OPEN Binary Interop Architecture
Topic: Posting non-error messages to the PME
Replies: 7
Views: 21301

Re: Posting non-error messages to the PME

I had assumed the latter to be the case from the code samples you provided. I also confirmed it the hard way when I forgot to check for the pointer's existence before clearing it in the Terminate() function and got an access violation exception in combase!CoGetContextToken. That was fun to debug... ...
by desyk
16 September 2025, 18:21
Forum: CAPE-OPEN Binary Interop Architecture
Topic: Posting non-error messages to the PME
Replies: 7
Views: 21301

Re: Posting non-error messages to the PME

Thank you! For reference, I needed to make a very minor modification for the code to compile. When setting the context, the MSVC compiler needed to be explicitly told to cast the CapeSimulationContext object to the CapeDiagnostic class. void putSimulationContext(/*in*/ CAPEOPEN_1_2::CapeSimulationCo...
by desyk
09 September 2025, 11:36
Forum: CAPE-OPEN Binary Interop Architecture
Topic: Posting non-error messages to the PME
Replies: 7
Views: 21301

Posting non-error messages to the PME

Hello all, Is it possible to post non-error messages to the PME using COBIA (e.g. warnings/info)? If so, are there any examples on how to do so available? I am aware of the Simulation Context Interface, which includes the LogMessage and PopUpMessage functions, and I have also checked out the ThermoC...
by desyk
15 June 2025, 18:53
Forum: COCO (AmsterCHEM)
Topic: Details on PropertyTester
Replies: 4
Views: 99520

Re: Details on PropertyTester

I see, thank you! I corrected my code and now the solutions for the Dmoles derivatives coincide with PropertyTester.
by desyk
09 June 2025, 23:50
Forum: COCO (AmsterCHEM)
Topic: Details on PropertyTester
Replies: 4
Views: 99520

Re: Details on PropertyTester

Thank you for the information. I went ahead and implemented the mole number derivatives (I had only implemented Temperature and Pressure derivatives so far). The only difference to the method you described is that each derivative is calculated using the Central Finite Difference method. This works v...
by desyk
04 June 2025, 21:33
Forum: COCO (AmsterCHEM)
Topic: Details on PropertyTester
Replies: 4
Views: 99520

Details on PropertyTester

Hello all, I have developed a COBIA Standalone Thermodynamic Property Package which uses a 3rd-order Central Difference Method for the calculation of the various derivatives, as described in this article . It works quite well, producing results that are within 0.1% of those calculated trough perturb...

Go to advanced search