Skip to content

Commit

Permalink
chore: add linear and nonlinear SmpcAppl snippet (#265)
Browse files Browse the repository at this point in the history
chore: add linear and nonlinea SmpcAppl snippet
  • Loading branch information
kmugEq authored Aug 22, 2023
1 parent 2a49ac5 commit a98e0c1
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,26 @@
},
"SmpcAppl": {
"prefix": "smpcappl",
"body": [
" SmpcAppl: ${1:ApplicationName}",
" Text1= \"${2}\"",
" Text2= \"\"",
" Npred= 80",
" Nstep= 1",
" PlotMax= 25",
" Nhorz= 80",
" Nstart= 0",
" DesMode= ADVISORY",
" FailMax= 0",
" SteadySolver= QP",
" OpenFlag= CONSTMVR",
" FeasTol= 1e-10",
" PrintSens= 0"
],
"description": "SmpcAppl with only linear attributes "
},
"SmpcAppl_nonlinear": {
"prefix": "smpcapplnonlinear",
"body": [
" SmpcAppl: ${1:ApplicationName}",
" Text1= \"${2}\"",
Expand Down Expand Up @@ -436,7 +456,7 @@
" SensLimSS= 1e-06",
" SensLimDyn= 1e-06\r"
],
"description": "For SEPTIC >= v2.82 "
"description": "SmpcAppl with nonlinear attributes"
},
"SmpcAppl_v2.81": {
"prefix": "smpcappl281",
Expand Down

0 comments on commit a98e0c1

Please sign in to comment.