Physically based dynamic model for control of cavity pressure in injection moulding of amorphous plastics