Opened 5 years ago

Last modified 5 years ago

#5351 assigned defect

HRSG Cloned Library Component / re-occuring pump error

Reported by: KieranF <kieran.fung@…> Owned by: casella
Priority: high Milestone: 2.0.0
Component: Third-Party Libraries Version:
Keywords: pump, flowCharacteristic, q_nom, head_nom, ThermoPower Cc:

Description

In an attempt to model a Combined Power Cycle, I wanted to be able to model a Rankine Cycle with the use of a HRSG - 3 Level pressure and reheat heat exchanger system.

I cloned the ThermoPower Library's available model by copying the base class and then the actual HRSG_3LRh.mo file. I then created the combined cycle by adding this in series with all the necessary Rankine and Brayton Cycle components.

I'm unable to instantiate this model but I am curious as to whether this is due to the improper use of the HRSG_3LRh or because of how I am using the prescribedspeedpump model.

I really do believe that it is the pump at hand that is preventing this model, and many many other Rankine cycles in the past from simulating due to the reoccuring error messages I continue to see, model after model. It reads:

[1] 16:55:27 Translation Error
[ThermoPower.Examples: 2534:70-2534:81]: Variable q_nom not found in scope ThermoPower.Examples.RankineCycle.Models.PrescribedSpeedPump.

[2] 16:55:27 Translation Error
[ThermoPower.Water: 5800:7-5804:36]: Class flowCharacteristic not found in scope ThermoPower.Water.Pump$prescribedSpeedPump1$feedWaterPump (looking for a function or record).

Every Rankine model I create using any pump.mo file, simple or complex, yeilds an error message(s) exactly the same or very similar pertaining to the flow rate of the system and how "It's not in the scope of the model".

The only other reason this model cannot instantiate and then simulate might be because I copied a model from the ThermoPower Library, where I've learned recently is undergoing new developments.

Any sort of advice or suggestions would be helpful! I have no idea how to trouble shoot this pump error message I continue to get.

Attachments (4)

CombinedCycle.mo (4.4 KB) - added by KieranF <kieran.fung@…> 5 years ago.
Main Model holding all other respected models inside it
HRSG_3LRh_BaseClass.mo (4.8 KB) - added by KieranF <kieran.fung@…> 5 years ago.
HRSG Base Class File
HRSG_3LRh.mo (14.7 KB) - added by KieranF <kieran.fung@…> 5 years ago.
HRSG Component File
BraytonCycle_CombinedCycle_1.mo (8.9 KB) - added by KieranF <kieran.fung@…> 5 years ago.
Brayton Cycle Model

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by KieranF <kieran.fung@…>

Main Model holding all other respected models inside it

Changed 5 years ago by KieranF <kieran.fung@…>

HRSG Base Class File

Changed 5 years ago by KieranF <kieran.fung@…>

HRSG Component File

Changed 5 years ago by KieranF <kieran.fung@…>

Brayton Cycle Model

comment:1 Changed 5 years ago by casella

  • Component changed from *unknown* to Third-Party Libraries
  • Milestone changed from Future to 2.0.0
  • Owner changed from somebody to casella
  • Status changed from new to assigned

@Kieran, are you using the new frontend? See ticket:2059#comment:11

Note: See TracTickets for help on using tickets.