From a98e0c18fa7e4a3cc219cac660806f09f0848a90 Mon Sep 17 00:00:00 2001 From: Kjetil Muggerud <44665004+kmugEq@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:59:35 +0200 Subject: [PATCH] chore: add linear and nonlinear SmpcAppl snippet (#265) chore: add linear and nonlinea SmpcAppl snippet --- snippets/snippets.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/snippets/snippets.json b/snippets/snippets.json index 8c869a2d..328c9e63 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -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}\"", @@ -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",