フィルターのクリア

Change value of stream mass flow in HYSYS using matlab

34 ビュー (過去 30 日間)
Alma Maria
Alma Maria 2024 年 7 月 8 日 8:51
コメント済み: Alma Maria 2024 年 7 月 9 日 7:28
I want to set the value of stream 'PFD136' to flow_136. Seems I have a syntax error. Please help

採用された回答

Umar
Umar 2024 年 7 月 8 日 19:48
Hi Alma,
It seems like you are encountering an issue while trying to set the value of stream 'PFD136' to 'flow_136'. The error message "Invoke error. Dispatch exception. Access is denied" indicates that there might be a permission or authorization problem with the operation you are trying to perform.
To troubleshoot this issue, you can start by checking the syntax of your code or command to ensure that it is correctly formatted and follows the expected structure for setting values to streams. Make sure that you have the necessary permissions and access rights to modify the stream 'PFD136' in your system.
If the syntax error persists, you may need to review the documentation or guidelines provided by the platform or software you are using to interact with streams and data sources.
Additionally, consider reaching out to technical support or consulting online resources for further assistance in resolving this error. It's important to address any access restrictions or authentication issues that may be causing the denial of access to perform the desired operation.
By verifying your permissions, revising the syntax of your code, and seeking help from relevant resources, you can work towards resolving this problem and successfully setting the value of stream 'PFD136' to 'flow_136'.
  1 件のコメント
Alma Maria
Alma Maria 2024 年 7 月 9 日 7:28
Yes! The problem was in HYSYS with a recycle loop that forwarded molar instead of mass flow into stream PFD136. Sinse the mass flow of PFD136 was specified by the system I was not allowed to change it through Matlab.
Switching from specifying molar flow to mass flow solved the issue!

サインインしてコメントする。

その他の回答 (1 件)

Andreas Goser
Andreas Goser 2024 年 7 月 9 日 6:38
Could it be you want to write 'kg/s' instead of "kg/s"?
  1 件のコメント
Umar
Umar 2024 年 7 月 9 日 6:42
Hi Andreas, That was a good catch. Appreciate your input. Let’s wait for Alma’s feedback.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by