Erased variables

Use this forum to post Vensim related questions.
Post Reply
rvi2005
Junior Member
Posts: 2
Joined: Fri Dec 22, 2023 2:45 pm
Vensim version: PLE+

Erased variables

Post by rvi2005 »

Variables that were "erased" rather than deleted are still listed although not used. How can they be deleted permanently?
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: Erased variables

Post by tomfid »

Whether variables remain in the model depends on user choice - when you delete a variable with the delete key, a dialog asks whether to remove them from the model or only the current view.

You can find these variables by opening the Control Panel > Variables tab, and selecting the "orphans" filter. Then you can edit the equation, and use the Delete Variable button to remove the orphan.

Another option is to text-edit the .mdl file.
rvi2005
Junior Member
Posts: 2
Joined: Fri Dec 22, 2023 2:45 pm
Vensim version: PLE+

Re: Erased variables

Post by rvi2005 »

Many thanks tomfid.Problem solved.
Easiest way is to open the mdl file in Notepad or equivalent, and find the orphans.
Post Reply