Text this: Active and Reactive Power Formulations for Grid Code Requirements Verification