Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » andreas
  • » Profile

Posts

Posts

Aug-12-20 08:30:18
Topic: heatpump
how to turn a on/-off heatpump into a inverter heatpump
Category: Programming

Hello everyone,

I am just getting started with modelica.
I 've got a modelled heatpump which is operating in on/off-mode.
Everytime a heating is required the heatpump turns on and runs on full power (in my model  PowerMax = 5000Watt)

I would like to change the code to make the heatpump run on low power and to shorten on/off times.

Here's the code:



if Qdot_required > 0 a then
     Qdot_H = min(Qdot_H_maximum, Qdot_required);
     heatpump_turns_on = true;
     load_out.mdot * h_c * (load_out.temperature - load_in.temperature) = Qdot_H;
else
     Qdot_H = 0;
     heatpump_turns_on = false;
     load_out.mdot = 0;
end if;
Qdot_H_maximum = COP_heatpump * PowerMax


//h_c = heatcapacity water

Thanks for your help.

  • Index
  • » Users
  • » andreas
  • » Profile
You are here: