Thank you for your prompt response,
Actually, my goal is to develop a common base code that can be used across multiple applications. Some of these applications involve single-phase AC, while others require three-phase AC metering. To achieve this, I am considering using the three-phase metering code as a foundation, making the necessary modifications to support single-phase applications as well.
If feasible, I would appreciate your guidance on how to adapt the three-phase metering code for single-phase use while maintaining flexibility for future three-phase implementations.
Thank you for your support!