The integer variable OWBVERSION contains the current version of OWBasic, e.g. 310 for version 3.10. The integer variable PVMODEL contains the pv model. At the moment all models before PV1600 are marked as 450.