Hi Maria,
The 'wlim' variables are inputs to the CSP system controller. I think you want the inteconnection limit variables, which are 'enable_interconnection_limit' (number: 0=false, 1=true) and 'grid_interconnection_limit-kwac' (number: AC kW limit).
If you want a time series limit instead of a single limit, you can use 'grid_curtailment' (array: AC MW limit for each time step).
One way to find the names of these variables is to find them in SAM's user interface, and then use the LK script editor to list the variables: On the File menu, click New script, and then in the script editor, click Variables at the top of the window. You can then search variables by their labels to find the variable name.
Best regards,
Paul.