Algebraic state variables for nlmpc
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda
Risposta accettata
0 voti
Condividi un link a questa risposta
8 Commenti
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
- Check your initial conditions: You need to ensure that the initial condition you have set for your problem is feasible, i.e., it satisfies all the constraints of your problem. If the initial condition doesn't meet this requirement, the optimizer may not be able to find a feasible direction to move.
- Check your nonlinear constraints: You should also check your nonlinear constraints. Ensure that they are correctly implemented, and there's no division by zero, square root of a negative number, log of a non-positive number, or anything else that could lead to undefined results.
- Check your Jacobian function: If you're using a Jacobian, make sure it's correctly defined. The error message suggests that there might be a problem with your function. To verify the correctness of your Jacobian function, you can compare the numerical Jacobian obtained using finite differences to your analytical Jacobian. In MATLAB, you can use the numjac function for numerical Jacobian calculation.
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento

Più risposte (0)
Categorie
Scopri di più su Nonlinear MPC Design in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
