Preface; Post below pertains to North American installations of a generator, but may apply to European code as well.
An important consideration when tying to premises (house) wiring, is whether or not the generator is considered a "separately derived system".
That means, wither or not the...