Search found 66 matches

by bcbooo
18 August 2021, 12:05
Forum: Unit Operations
Topic: How to write CAPE-OPEN registry entries under C#
Replies: 2
Views: 6814

Re: How to write CAPE-OPEN registry entries under C#

Jasper you are so great.
I am investigating a Unit Operation source code implemented by C#, I found it's rather complicated than the ones by C++.
by bcbooo
17 August 2021, 17:29
Forum: Unit Operations
Topic: How to write CAPE-OPEN registry entries under C#
Replies: 2
Views: 6814

How to write CAPE-OPEN registry entries under C#

When implementing a Unit Operation in C++, there are some registry information stored in .rgs file, and these information will be wrote to Windows registry automatically when the C++ dll file is registered, as follows: HKCU { NoRemove Software { NoRemove Classes { CPPMixerSplitterexample.CPPMixerSpl...
by bcbooo
04 September 2018, 08:43
Forum: Thermodynamic v1.1
Topic: The return value type of GetPhaseInfo
Replies: 3
Views: 17775

Re: The return value type of GetPhaseInfo

Thank you Jasper
by bcbooo
04 September 2018, 01:53
Forum: Thermodynamic v1.1
Topic: The return value type of GetPhaseInfo
Replies: 3
Views: 17775

The return value type of GetPhaseInfo

GetPhaseInfo is defined as following: GetPhaseInfo(BSTR phaseLabel, BSTR phaseAttribute, VARIANT * value); where when phaseAttribute is 'StateOfAggregation', 'Vapor' or 'Liquid' or 'Solid' will be returned as string. I have finished one Property Package, and tested in COFE environment, the following...
by bcbooo
01 January 2018, 12:37
Forum: Reporting Common interface
Topic: Your ideas about a Reporting Common Interface
Replies: 5
Views: 21935

Re: Your ideas about a Reporting Common Interface

Don't to care text align, color, font size, font name problems, just simplest desciplines as I mentioned.

The simulator has it's own style to display them, for example the specified font, line space, color for title.

Complicated XML standards will make nobody to fill them.
by bcbooo
01 January 2018, 01:14
Forum: Reporting Common interface
Topic: Your ideas about a Reporting Common Interface
Replies: 5
Views: 21935

Re: Your ideas about a Reporting Common Interface

Happy new year Jasper! I suggest Colan defines one custom XML format, which is simple and has sufficient fucntions, likes the following: <title1>1. Sample title</title1> <title2> 1.1 Sample sub title </title2> <paragraph> The sample texts. </paragraph> <table> <row> <range>cell1 message</range> <ran...
by bcbooo
31 December 2017, 08:44
Forum: Reporting Common interface
Topic: Your ideas about a Reporting Common Interface
Replies: 5
Views: 21935

Re: Your ideas about a Reporting Common Interface

Colan should define the format of XML report message.For example use the desciplines of Microsoft docx XML file, which could report as table, title, text pharagraph. All the report messages are normal XML strings, but Simulator could display them likes Microsoft Word.
by bcbooo
19 April 2017, 00:25
Forum: Aspen Hysys (Aspen Technology Inc.)
Topic: Fail to call cape-open unit in hysys
Replies: 2
Views: 15727

Re: Fail to call cape-open unit in hysys

CAPE-OPEN Thermo standards have two versions, Aspen HYSYS may have the different one with your Unit Operation, so Aspen HYSYS may can't realize the ports of you Unit Operation.

You'd better test the Unit Operation in COFE and Aspen Plus firstly, then in Aspen HYSYS.
by bcbooo
14 March 2017, 03:29
Forum: COCO (AmsterCHEM)
Topic: Problem(s) with COCO 3.2
Replies: 38
Views: 121656

Re: Problem(s) with COCO 3.2

nrgeng you are so careful! :lol: :lol: :lol:
by bcbooo
21 October 2016, 06:28
Forum: MATLAB Unit Operation (AmsterCHEM)
Topic: COFE Unit Operation in Aspen HYSYS
Replies: 13
Views: 56331

Re: COFE Unit Operation in Aspen HYSYS

The best way to get each compound flow, is through "totalFlow" and "fraction" of overall material stream or a single phase.Aspen supports "flow" property not well.

Go to advanced search