Carefully open pressure cooker. Add the chopped onion and then scatter half the potatoes over mixture, followed by half the green beans. Place half the pat of butter on top. Add remaining potatoes, followed by remaining green beans and pat of butter on top. Seal and cook under high pressure for 5 minutes.