[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
CAPE-OPEN Discussions about use and implementation of the CAPE-OPEN standard 2022-05-24T13:44:30+00:00 http://www.cape-open-forum.org/feed.php?f=16&t=752 2022-05-24T13:44:30+00:00 2022-05-24T13:44:30+00:00 http://www.cape-open-forum.org/viewtopic.php?t=752&p=2698#p2698 <![CDATA[Re: Migration from Thermo 1.0 to 1.1]]> I will check and I will inform you.
Thanks!

Statistics: Posted by JulieCouturier — 24 May 2022, 13:44


]]>
2022-05-13T09:01:04+00:00 2022-05-13T09:01:04+00:00 http://www.cape-open-forum.org/viewtopic.php?t=752&p=2697#p2697 <![CDATA[Re: Migration from Thermo 1.0 to 1.1]]>
Exception 0x80040501 is ECapeUnknownHR, which implies that you can obtain the interface ECapeUnknown from the object that raised the error, in this case the object PP. This interface will provide an error description. What does it say?

Statistics: Posted by jasper — 13 May 2022, 09:01


]]>
2022-05-12T09:31:36+00:00 2022-05-12T09:31:36+00:00 http://www.cape-open-forum.org/viewtopic.php?t=752&p=2696#p2696 <![CDATA[Migration from Thermo 1.0 to 1.1]]>
I have some problems for the migration from the usage of Thermo 1.0 to Thermo 1.1.

In our software , the architecture with Thermo 1.0 created some years ago, the Material Object has been developed in .NET C# 2.0. The Material Object is the link between our software and the Cape-Open Property Package/Thermo Systems. The MaterialObject developed by Belsim implements the interface “ICapeThermoMaterialObject”. All methods defined in this interface had been implemented.

With a small tool based on COM technology, the user can see which Thermo Systems and Property Packages are available on a given computer:
Screenshot 2022-05-11 115151.png


Currently, I am trying to modify this tool to use Thermo 1.1.

The part to see what is available on a given computer is working:
Screenshot 2022-05-11 120129.png

Through this tool, I am trying to test the other things I need to integrate Thermo 1.1 in our software. So I would like to do a test (compute the enthalpy in vapor phase, with fixed temperature, pressure and flow properties).

In the implementation with Thermo 1.0, we have a Material Object class that has a property PropertyPackage PP of type ICapeThermoPropertyPackage.
So, with thermo 1.0, the calculation is done through the instruction:
PP.CalcProp(materialObject, props, phases, calcType)

If I try to do similar thing with Thermo 1.1, I use a property PP of type ICapeThermoPropertyRoutine and use the instruction:
PP.CalcSinglePhaseProp(((string[]) props), phaseLabel.ToLower())
But I get an exception:
Screenshot 2022-05-12 100836.png


What could be wrong or missing?

Thanks in advance,

Julie Couturier

Statistics: Posted by JulieCouturier — 12 May 2022, 09:31


]]>