Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
109 views

I am working on a simulation tool for a certain heat exchange system. I first design the system using a certain routine, and then assess it's off-design performance. For the off-design performance I ...
3 votes
2 answers
137 views

I want to solve the AC power flow equations (wiki) using GEKKO in Python. This is a nonlinear system of equations describing conservation of energy on a power grid. I'm struggling to get GEKKO to ...
3 votes
1 answer
59 views

I'm simulating a first-order plus time delay (FOPTD) process and controlling it with a GEKKO MPC model using identical parameters for both the plant and model (i.e. no model mismatch). However, when a ...
Vince's user avatar
  • 41
2 votes
1 answer
58 views

I want to do a temperature simulation with ARX models and found Gekko as framework for it. I was able to run basically the example of apmonitor and give my simulation an initial condition when using ...
3 votes
0 answers
94 views

Context: Hello to everybody and to Prof. John Hedengren, I am using the Python Gekko library to use MPC with a heating system of a multi-zone building. The objective is to either minimize a ...
3 votes
1 answer
86 views

I am trying to minimize the L2 norm of the peak flows in a drainage system. I want to use gekko since it can handle integer-binary programming. In my program, my objective is to minimize the peak ...
3 votes
0 answers
60 views

I was testing some options with Gekko for an optimization with MINLP , but I still couldn't figure out how the option COLDSTART = 2 work. Using the variable values from a prior solution as initial ...
3 votes
1 answer
53 views

Currently I am building an economic model in Python GEKKO: m = GEKKO() m.time = np.arange(0, 200, 1) #define the variables consumption = m.Var() tax = m.Var() ...
3 votes
1 answer
44 views

The results.csv file is hard to read since the variables, intermediates etc. are shown in a format like "i1000" which probably means "intermediate number 1000". Is there any way to ...
1 vote
2 answers
89 views

I have an MINLP problem and let's say the continuous variable Q can only be 0 when the binary variable z is 0. Two ways to formulate this would be: m.Equation(Q*(1-z) == 0) (1) or m.Equation(Q < z*...
3 votes
1 answer
52 views

I'm trying to simulate an ARX model based on this example import numpy as np from gekko import GEKKO import matplotlib.pyplot as plt na = 2 # Number of A coefficients nb = 1 # Number of B ...
ht2507's user avatar
  • 61
2 votes
1 answer
48 views

I am trying to control a level system (of two tanks) by using gekko. In the trial related in this question, just one of the level is under control. However, my CV does not seem to follow the SP. Code ...
3 votes
1 answer
52 views

Gekko is hanging when simulating an ARX model with different parameter dictionaries. I tried GEKKO system identification for 2 different systems. One as described on APM's web site and another by ...
ht2507's user avatar
  • 61
4 votes
2 answers
73 views

I am studying how to solve one problem with pre-defined variables. For example, variable "x" must be one of the values below. [2, 5, 6, 13] But, I don't know how to modify my codes. The ...
3 votes
1 answer
74 views

I tried using the python library of Gekko to simulate a solver. I need to use a large number of if conditions, for which I have used the if2 and if3 provided by Gekko. I understand that m.if2 or m.if3 ...

15 30 50 per page
1
2 3 4 5
...
63

AltStyle によって変換されたページ (->オリジナル) /