I’m assuming you are using a C# template, but the information should be similar regardless. There is a method in Algorithm.cs, the file where you write your algorithm code, called UpdateSystemSettings() that can be used in a similar fashion to the Initialize() method of openPDC adapters. Alternatively, you can modify any of the other classes in the generated project to call an appropriate method for doing this work, however note that any file with a warning comment at the top will be regenerated if you generate your project again. Program.cs is the file that calls the UpdateSystemSettings() method.
As for how this code will be written in a deployed version of the product, the architecture for that is still up in the air and will depend on the target language for the analytic. We expect the structure of the Algorithm.cs class to be similar, though the methods will probably not be static so that the algorithm can be unloaded and reloaded by the service or application at runtime. There will also likely be an optional method to allow disposal of system resources when your algorithm module is unloaded at runtime.