Define Device in Analysis as Mutable

Define Device in Analysis as Mutable


When I try to delete a co2 variable inside the device, I get this error where it tells me that the device is Immutable.
How can I make it mutable from the Analysis, and be able to delete that variable with the deleteData() method?