Hi Youri,
no I had not tried it myself ... until now :)
Indeed it can be tricky but this is entirely due to the 'unconventional' way in which ADM1 is implemented.
I will try and summarise the main steps that you need to undertake:
[list]
[li]duplicate the ADM1 Category and rename (e.g. ADM1Only)[/li]
[li]create a new instance called ADM1Only (leave the checkbox 'create default quantities' checked): it will give you a warning regarding the (already) existing ADM1Only Category but it will reference it corretly[/li]
[li]generate code for the ADM1Only Category (make sure 1) the Namespace for the Components and the Conversion Model is empty and 2) you use a sub-folder, e.g. "ADM1Only")[/li]
[li]include 3 files (definitions.msl, reactions.msl, conversionmodel.body.msl) respectively in wwtp.definitions.msl, wwtp.reactions.msl and wwtp.VolumeASM.ConversionModel.body.msl, wrapped within #ifdef for the new Instance[/li]
[/list]
This is normally enough for a generic new Instance and Category.
However, this is a slightly more complex case because the (original) ADM1 conversion model is included in the scope of the digester class only - precisely because ADM1 is a sub-category of ASM1 (same e.g. for Siegrist).
As a consequence, some quantities, used in the Conversion Model, have been defined outside - in a similar way as for C, Vol, Temp, .. for nearly all other Conversion Models.
So you will have to patiently:
[list]
[li]add " || defined ADM1_Main " in a few places, in order to include a particular class. For instance, in the wwtp.extra.definitions.ADM1.msl file, in order to include ADM1 specific ion related objects[/li]
[li]either modify the new Category ADM1Only (now completely decoupled from the original, so no problem here) or modify some classes, in order to accommodate for the new Conversion Model[/li]
[/list]